Article View: news.software.nntp
Article #45961mail-news bidirectional gateway
From: Adam Sulmicki
Date: Mon, 24 Apr 2000 00:00
Date: Mon, 24 Apr 2000 00:00
60 lines
2735 bytes
2735 bytes
Hello, I'm trying to setup bidirectional gateway between a mailing list (majordomo) and a news group (inn). I have setup both of them on my server. I use 'mailpost' and 'news2mail' programs which come with inn to implement the bi-dir gateway. Both majordomo and inn when tested alone seem work fine. I also setup mail2news gateway, and it seems work fine (well, until it is tried out with news2mail). But news2mail gateway gives me headache. The way I setup mail2news: 1) subcribed user "eaxtest" to list via majordomo 2) added following alias to /etc/aliases eaxtest : "| /usr/local/inn/bin/mailpost eax.test" seems to be working. I did in similar way to 'umlug' list. Now, the news2mail. I have something like this in 'newsfeeds' file: n2m!:!*:Tc,Ac,Wn*:/usr/local/inn/bin/news2mail test-list-n2-gw@local-news.my.domain:eax.test:Tm:n2m! umlug-list-n2-gw@local-news.my.domain:um.linux:Tm:n2m! Where 'my.domain' is my actual domain. In 'mail2news.cf' file I have: umlug@news.my.domain um-linux@some.other.domain test@news.my.domain test@my.domain where again 'my.domain' is my actual domain. Now there are two problems: 1) when I post a message to newsgroup, say 'eax.test' it gets emailed to _both_ lists 'umlug' and 'test'. The email should be forwarded to 'test' list __only__, I have no idea why it spills over the other list. 2) since there's mail2news, once the email is sent to this list it is forwarded back to news server for posting. According to manual the 'mailpost' should silently drop such dupplicate emails. However, it does not instead I get error emails like the one below: Subject: mailpost failure (eax.test): inews failed: Can't send article to the server: 441 Can't set system "X-Trace" header (Article not posted.) which IMHO is nothing like a 'sillent dropping' of the post like the man page says. Does anyone has any hints in either of the problems? PS: It would be great if you could cc me on replies. Adam
Technical Details
Message-ID:
<8e03kq$nfr$1@cronkite.cs.umd.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <8e03kq$nfr$1@cronkite.cs.umd.edu> Subject: mail-news bidirectional gateway Date: Mon, 24 Apr 2000 00:00:00 +0000 From: adam@umiacs.umd.edu (Adam Sulmicki) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 614796173 X-Complaints-To: abuse@cs.umd.edu X-Trace: cronkite.cs.umd.edu 956535258 24059 128.8.120.111 (24 Apr 2000 00:14:18 GMT) Organization: U of Maryland, College Park, MD 20742 NNTP-Posting-Date: 24 Apr 2000 00:14:18 GMT Newsgroups: news.software.nntp