mail-news bidirectional gateway

ADAM Sulmicki adam at cfar.umd.edu
Tue Apr 25 03:25:34 UTC 2000



[any help? I did post it to news.software.nntp. 
However, I hadn't gotten any answer :( ]

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 at local-news.my.domain:eax.test:Tm:n2m!
	umlug-list-n2-gw at local-news.my.domain:um.linux:Tm:n2m!

Where 'my.domain' is my actual domain. In 'mail2news.cf' file I have:

	umlug at news.my.domain    um-linux at some.other.domain
	test at news.my.domain      test at 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







More information about the inn-workers mailing list