Browse Source

incorporate post-1.2.0 sample conf http://cvs.ossp.org/chngview?cn=3269

master
Thomas Lotterer 23 years ago committed by Ralf S. Engelschall
parent
commit
22843fa62b
  1. 8
      lmtp2nntp/lmtp2nntp.conf
  2. 2
      lmtp2nntp/lmtp2nntp.spec

8
lmtp2nntp/lmtp2nntp.conf

@ -45,7 +45,7 @@ operationmode post
groupmode envelope
mailfrom ".*"
nodename "gateway"
restrictheader "Cc: j\.doe@example\.org"
restrictheader "X-Gateway:.*lmtp2nntp"
newsgroup "local.test"
# remove headers (using empty value)
@ -60,11 +60,13 @@ headerrule '520::Subject:${msg.header.Subject:-None}'
# create Message-ID if omitted or illegal (no or more than one '@')
headerrule '530::Message-ID:${msg.header.Message-ID:-@@:s/^.*@.*@.*$//:%createmessageid}'
# append a header
# append a header to inhibit bang path addressing for mail replies
headerrule '540::Path:lmtp2nntp!not-for-mail'
# append a header
# append a header to avoid message loops with news2mail gateways - see restrictheader
headerrule '610::X-Gateway:lmtp2nntp'
# append a header to approve posting to a moderated newsgroup
headerrule '620::Approved:gateway@example.com'
# ---- LOGGING ----

2
lmtp2nntp/lmtp2nntp.spec

@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS]
Group: Mail
License: GPL
Version: 1.2.0
Release: 20030213
Release: 20030217
# list of sources
Source0: ftp://ftp.ossp.org/pkg/tool/lmtp2nntp/lmtp2nntp-%{version}.tar.gz

Loading…
Cancel
Save