yapfaq/yapfaq.cfg
Thomas Hochstein 0c6ebe7841 Add variable expiry.
* New Function: calcdelta

  Move date calculation for new posting date to
  calcdelta

* Add 'Expires' to yapfaq.cfg

  Parse 'Expires'
  Use calcdelta to calculate expiry.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2010-02-25 16:21:18 +01:00

44 lines
1 KiB
INI

# name of your project
Name = 'testpost'
# file to post (complete body and pseudo-headers)
# ($File.cfg contains data on last posting and last MID)
File = 'test.txt'
# how often your project should be posted
# use (d)ay OR (w)eek OR (m)onth OR (y)ear
Posting-frequency = '1d'
# time period after which the posting should expire
# use (d)ay OR (w)eek OR (m)onth OR (y)ear
Expires = '3m'
# header "From:"
From = 'test@domain.invalid'
# header "Subject:"
# (may contain "%LM" which will be replaced by the contents of the
# Last-Modified pseudo header).
Subject = 'test noreply ignore'
# comma-separated list of newsgroup(s) to post to
# (header "Newsgroups:")
NGs = 'de.test'
# header "Followup-To:"
Fup2 = 'poster'
# Message-ID ("%n" is $Name)
MID-Format = '<%n-%d.%m.%y@domain.invalid>'
# Supersede last posting?
Supersede = yes
# extra headers (appended verbatim)
# use this for custom headers like "Approved:"
ExtraHeader = 'Approved: moderator@domain.invalid
X-Header: Some text'
# other projects may follow separated with "====="
# =====