Received: from localhost (daemon@localhost) by CS.UTK.EDU with SMTP (cf v2.9s-UTK) id MAA11299; Thu, 4 Mar 1999 12:52:05 -0500 (EST) Received: by cs.cs.utk.edu (bulk_mailer v1.12); Thu, 4 Mar 1999 12:51:46 -0500 Received: by CS.UTK.EDU (cf v2.9s-UTK) id MAA11239; Thu, 4 Mar 1999 12:51:45 -0500 (EST) Received: from grinch.whoville.leftbank.com (grinch.leftbank.com [139.167.128.2]) by CS.UTK.EDU with SMTP (cf v2.9s-UTK) id MAA11211; Thu, 4 Mar 1999 12:51:32 -0500 (EST) Received: from lorax.whoville.leftbank.com by grinch.whoville.leftbank.com via smtpd (for [128.169.94.1]) with SMTP; 4 Mar 1999 17:51:31 UT Received: (from cos@localhost) by lorax.whoville.leftbank.com (8.9.1a/8.9.1) id MAA18399; Thu, 4 Mar 1999 12:50:21 -0500 (EST) From: Ofer Inbar Message-Id: <199903041750.MAA18399@lorax.whoville.leftbank.com> Subject: Re: preventing loops in bidirectional gateways To: drums@cs.utk.edu Date: Thu, 4 Mar 1999 12:50:21 -0500 (EST) Cc: mailnews-l@SEGATE.SUNET.SE In-Reply-To: from "Jacob Palme" at Feb 9, 99 10:07:00 am Organization: The Left Bank Operation - http://www.leftbank.com/ Reply-To: cos@leftbank.com X-Mailer: ELM [version 2.4 PL24] Content-Type: text List-Unsubscribe: On Feb 9, Jacob Palme wrote: > Common methods to stop loops when two mailing lists or > newsgroups are members of each other (best is to use all or > several of them): > > (1) Put list name in a "Received" header, recognize it when > the message comes back again. > > (2) Store Message-ID of passed messages. (Need only be > stored a short time.) > > (3) Store checksum of passed messages. Checksum should be > computed so it will not be changed if spaces are changed to > tabs, or the reverse, or newlines of various kinds > inserted, or character encoding changed from > quoted-printable to 8-bit, etc. > > (4) Have mechanism to stop producing bidrectional membership. The last is my favored method, for the news-mail gateways I run. Specifically, I set them up like this: list subscribers' postings the Usenet | | v | list submission address peer server | | (bidirectional news flow) v | massaging script --> inews --> local news server <-- local news postings | v massaging script --> distribution list Everything flows through the system in one direction only, and no loops are possible. With a little bit of header rewriting, it can be set up so that it appears to the list users as if there is just one list. The To: header on the mail that goes out to the distribution list has the submission address that actually leads to the posting gateway, not to the list. The local news server is the "primary repository" and every message goes through the news server once. Later on the same day, he added: > Someone should write a non-standard, i.e. informational, RFC om how > to write good mail-news gateways. Would you do it? So, how widespread is the practice I described? Is there some informational document describing it? If not, would it be useful if I wrote such? -- Cos (Ofer Inbar) -- cos@leftbank.com cos@cs.brandeis.edu -- The Left Bank Operation -- lbo@leftbank.com http://www.leftbank.com/ A cos is an abstraction for a stream or datagram channel, used in BSD and BSD derivatives. -- Ben Tober