OSSP CVS Repository

ossp - Check-in [1343]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1343
Date: 2001-Nov-14 15:37:10 (local)
2001-Nov-14 14:37:10 (UTC)
User:thl
Branch:
Comment: ricudis@paiko.gr - How about adding a custom entry on the Path: header on gated messages, so the news system can distinguish messages that should be passed back to the mailing list on doubly gated mailing lists?

    Path: lmtp2nntp!not-for-mail

and placing in the INN newsfeeds file :

    news2mail-feed/lmtp2nntp:*:blah blah blah

would prevent loops caused by messages gated to Usenet by lmtp2nntp then forwarded back to their origination message-list by the newsfeed feeding the Usenet->mail side of the gateway.

Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/msg.c      1.21 -> 1.22     1 inserted, 1 deleted

ossp-pkg/lmtp2nntp/msg.c 1.21 -> 1.22

--- msg.c        2001/11/14 14:32:36     1.21
+++ msg.c        2001/11/14 14:37:10     1.22
@@ -239,7 +239,7 @@
 
     log0(msg, DEBUG, "adding mandatory Path: header");
     argz_add(&msg->azHeaders, &msg->asHeaders, "Path:");
-    argz_add(&msg->azHeaders, &msg->asHeaders, "not-for-mail");
+    argz_add(&msg->azHeaders, &msg->asHeaders, "lmtp2nntp!not-for-mail");
 
     log0(msg, DEBUG, "split complete");
     return MSG_OK;

CVSTrac 2.0.1