Thread View: news.software.nntp
2 messages
2 total messages
Started by Dan Mosedale
Mon, 19 Dec 1994 02:54
newsgate-INN / sendmail8 crossposting mailer?
Author: Dan Mosedale
Date: Mon, 19 Dec 1994 02:54
Date: Mon, 19 Dec 1994 02:54
18 lines
1552 bytes
1552 bytes
I've got a recent version of newsgate that works with INN from r$. Included with this is gag, a news<->mail gateway generator. Among other things, it can generate alias file entries for sendmail. As it stands, something mailed to two newsgroup gateways gets posted to one group and gets rejected with a "Duplicate" error during the attempt to (separately) post to the second group. Has anyone generated the appropriate sendmail.cf magic which will cause cross-posts to work correctly? IE something mailed to "news-group-a, news-group-b" only causes mail2news to be invoked once with the correct args to cause a crosspost to both groups. Thanks -- Dan Mosedale Systems Exorcist dmose@mcom.com Netscape Communications Corp.
Re: newsgate-INN / sendmail8 crossposting mailer?
Author: Phil Brandenberger
Date: Mon, 19 Dec 1994 17:43
Date: Mon, 19 Dec 1994 17:43
36 lines
2100 bytes
2100 bytes
In article <3d2skj$t2o@flop.mcom.com>,
Dan Mosedale <dmose@flop.mcom.com> wrote:
>
>Has anyone generated the appropriate sendmail.cf magic which will cause
>cross-posts to work correctly? IE something mailed to
>"news-group-a, news-group-b" only causes mail2news to be invoked once with the
>correct args to cause a crosspost to both groups.
The way I set it up was to configure mail2news as a mailer in sendmail,
using the M4 macros:
MAILER(usenet)dnl
define(`USENET_MAILER_PATH',`/usr/local/bin/mailgate')dnl
define(`USENET_MAILER_ARGS',``mailgate'')dnl
And then the mailgate script:
--------------------- snip ----------------------
#!/usr/local/bin/perl
local($grouplist);
foreach $group (@ARGV) {
$grouplist .= "$group,";
}
chop $grouplist;
exec("/usr/local/bin/mail2news -n $grouplist \ # split for clarity only!
-o '.Forum .News/.Mail .Gateway' -a 'news@forum.swarthmore.edu'" );
--------------------- snip ----------------------
This works for crossposting.
-Phil
--
Phil Brandenberger (phil@wharton.upenn.edu)
System Programmer, The Wharton School at the University of Pennsylvania
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads