OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src openpkg-web Date: 17-Feb-2003 13:36:49
Branch: HEAD Handle: 2003021712364702
Modified files:
openpkg-src/lmtp2nntp lmtp2nntp.conf lmtp2nntp.spec
openpkg-web news.txt
Log:
incorporate post-1.2.0 sample conf
http://cvs.ossp.org/chngview?cn=3269
Summary:
Revision Changes Path
1.6 +5 -3 openpkg-src/lmtp2nntp/lmtp2nntp.conf
1.42 +1 -1 openpkg-src/lmtp2nntp/lmtp2nntp.spec
1.3330 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/lmtp2nntp/lmtp2nntp.conf
============================================================================
$ cvs diff -u -r1.5 -r1.6 lmtp2nntp.conf
--- openpkg-src/lmtp2nntp/lmtp2nntp.conf 12 Feb 2003 08:31:01 -0000 1.5
+++ openpkg-src/lmtp2nntp/lmtp2nntp.conf 17 Feb 2003 12:36:49 -0000 1.6
@@ -45,7 +45,7 @@
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 @@
# 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:[EMAIL PROTECTED]'
# ---- LOGGING ----
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/lmtp2nntp/lmtp2nntp.spec
============================================================================
$ cvs diff -u -r1.41 -r1.42 lmtp2nntp.spec
--- openpkg-src/lmtp2nntp/lmtp2nntp.spec 13 Feb 2003 10:11:22 -0000 1.41
+++ openpkg-src/lmtp2nntp/lmtp2nntp.spec 17 Feb 2003 12:36:49 -0000 1.42
@@ -33,7 +33,7 @@
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
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.3329 -r1.3330 news.txt
--- openpkg-web/news.txt 17 Feb 2003 11:11:56 -0000 1.3329
+++ openpkg-web/news.txt 17 Feb 2003 12:36:47 -0000 1.3330
@@ -1,3 +1,4 @@
+17-Feb-2003: Upgraded package: P<lmtp2nntp-1.2.0-20030217>
17-Feb-2003: Upgraded package: P<pth-2.0.0-20030217>
17-Feb-2003: Upgraded package: P<vim-6.1.339-20030217>
17-Feb-2003: Upgraded package: P<sqlite-2.8.0-20030217>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]