Article View: news.software.nntp
Article #84153Re: Mail-to-News
From: John F. Morse
Date: Wed, 29 Jun 2011 18:04
Date: Wed, 29 Jun 2011 18:04
123 lines
5783 bytes
5783 bytes
Hi Dennis, > In the referenced article, dont.bother writes: > >> I receive e-mail from a few mailing lists that I'd like to >> automatically post into local newsgroups. >> >> There seems to be several mail-to-news programs (or scripts) >> available, such as: >> >> Gmane mail-to-news scripts mail2news mailpost pyg >> >> The Gmane scripts are available as a tarball. The mail2news is >> available as a gdebi (APT) and rpm package. The mailpost Perl >> script is included with INN. Only the pyg package is available in >> the Debian APT repositories. >> >> The INN servers available are 2.4.5 on Debian Lenny, and 2.5.2 on >> Debian Squeeze. >> >> Each runs the standard Debian MTA default of Exim4. >> >> There are other MTAs available for receiving e-mail from the WAN, >> using Postfix under Debian, and SIMS under Mac OS 9.0.4. They >> could relay or mirror incoming mail. Or the incoming mail for the >> mail-to-news application could be routed to that mail-to-news >> client. >> >> Anyone having experience with the above mail-to-news programs >> and scripts, who could assist me in selecting the software, >> configuration, etc.? >> > > I've just got this working here with INN. We're currently running > exim4 + Cnews + mail2news (from newsgate.tar.Z) on a Solaris/sparc > platform. We intend to replace this with a newer Solaris/i386 box > running INN-2.5.2 + exim4. I decided to go with the above mail2news > routine as I'm familiar with it and, being lazy, I could just copy > over the exim4 configuration I was using. > I played with this for quite awhile yesterday (and today) and never got it to work. I'm not sure I understand the principles behind the whole operation. Here's what I believe must happen (please make all the corrections you find in my flawed assumptions): E-mail from a mailing list comes in to my domain MTA (SIMS on a PowerMac). I must route (forward) it to the INN server (a different computer than the domain MTA). The INN server is running Exim4 version 4.69-9+lenny4. From what I've read, the INN server box needs an entry in /etc/aliases and I have entered: larryslist: "| /usr/lib/news/bin/mailpost -b /var/tmp ARRL.Div.Midwest.KS.LarrysList" When that failed, I reduced it to: larryslist: "| /usr/lib/news/bin/mailpost ARRL.Div.Midwest.KS.LarrysList" The newsgroup was created and is shown below on yesterday's Daily Usenet Report: Newsgroups created: Group Mode ARRL.Div.Midwest.KS.LarrysList m TOTAL 1 Today I changed the group mode to "y" for testing, so I wouldn't be stumped by a moderator issue. I am guessing the /etc/aliases entry will take anything addressed to "larryslist" and pipe it into mailpost, which basically triggers the mailpost script into processing the message. As mentioned, so far it isn't working. Nothing has been posted to that group. I know very little about Exim4. It is a default MTA installed with Sarge, Lenny, Squeeze, ... and has always "just worked" as far as I can remember. After further testing, I may have a problem with my main MTA routing. Plus DNS issues with testing on the same LAN that contains the main MTA and the INN box. So I tried bypassing those possible problem and sent e-mail to "larryslist" using mailx on the INN computer itself. This resulted in the following from a tail of /var/log/exim4/mainlog : 2011-06-29 12:33:00 1QbydI-0001Mk-AA <= john@optima11.my.net U=john P=local S=456 2011-06-29 12:33:01 1QbydI-0001Mk-AA == |/usr/lib/news/bin/mailpost ARRL.Div.Midwest.KS.LarrysList <larryslist@optima11.my.net> R=system_aliases defer (-30): pipe_transport unset in system_aliases router I put the original /etc/aliases entry back and got the same failure: 2011-06-29 12:45:45 1Qbypd-0001PK-2V <= john@optima11.my.net U=john P=local S=420 2011-06-29 12:45:45 1Qbypd-0001PK-2V == | /usr/lib/news/bin/mailpost -b /var/tmp ARRL.Div.Midwest.KS.LarrysList <larryslist@optima11.my.net> R=system_aliases defer (-30): pipe_transport unset in system_aliases router Two terms there that I'm not familiar with, "pipe_transport" and "system_aliases router" and I cannot find anything defining them. Anything you (or anyone) can offer will be greatly appreciated. TIA. -- John When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID:
<iufpeq$qgh$1@n102.xanadu-bbs.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!news.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mailReferences:
<iuaorh$gbt$1@n102.xanadu-bbs.net> <LnK0v2.13B.B.larch@bath.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <iufpeq$qgh$1@n102.xanadu-bbs.net> Subject: Re: Mail-to-News Date: Wed, 29 Jun 2011 13:04:10 -0500 From: "John F. Morse" <john@example.invalid> References: <iuaorh$gbt$1@n102.xanadu-bbs.net> <LnK0v2.13B.B.larch@bath.ac.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.octanews.net!indigo.octanews.net!news.glorb.com!v102.xanadu-bbs.net!n102.xanadu-bbs.net!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: Xanadu BBS Lines: 123 Reply-To: dont.bother Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: n102.xanadu-bbs.net 1309370650 27153 192.168.89.210 (29 Jun 2011 X-Complaints-To: newsmaster@xanadu-bbs.net NNTP-Posting-Date: Wed, 29 Jun 2011 18:04:10 +0000 (UTC) User-Agent: Thunderbird 2.0.0.24 (X11/20101027) In-Reply-To: <LnK0v2.13B.B.larch@bath.ac.uk> X-Enigmail-Version: 0.96.0