Check-in Number:
|
3269 | |
Date: |
2003-Feb-17 13:24:44 (local)
2003-Feb-17 12:24:44 (UTC) |
User: | thl |
Branch: | |
Comment: |
improve example, especially the message loop part |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/lmtp2nntp/INSTALL 1.16 -> 1.17
--- INSTALL 2003/02/06 21:22:34 1.16
+++ INSTALL 2003/02/17 12:24:44 1.17
@@ -269,7 +269,7 @@
| groupmode envelope
| mailfrom ".*"
| nodename "gateway"
- | restrictheader "Cc: j\.doe@example\.org"
+ | restrictheader "X-Gateway:.*lmtp2nntp"
| newsgroup "local.test"
|
| # remove headers (using empty value)
@@ -284,11 +284,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:gateway@example.com'
|
| # ---- LOGGING ----
|
|