Mail<->News Gateways
Jeffrey M.Vinocur
jeff at litech.org
Fri Sep 24 02:22:25 UTC 2004
On Sep 23, 2004, at 11:39 AM, Felix E. Klee wrote:
> 6. Problem: A message that is sent to the ML gets forwarded to the NG
> using mailpost. This is what we want. Then, however, the default
> news2mail resends the message back to the ML. The result is that
> all
> messages sent to the ML appear twice (Mailman has no check for
> duplicate Message-IDs, AFAIK). The solution is to again use a custom
> header:
>
> 1. mailpost adds a header "X-Mail2News: 1" to each message it posts
> to a NG.
>
> 2. news2mail bails out if it finds that header.
I would've done this with use of the Path header, which would allow INN
itself to detect the articles coming from the mailing list, and prevent
having to run news2mail for them at all.
But whatever works :-)
--
Jeffrey M. Vinocur
jeff at litech.org
More information about the inn-workers
mailing list