Article View: news.software.nntp
Article #74695Re: INN's mailpost
From: rone
Date: Sun, 21 Jan 2007 23:09
Date: Sun, 21 Jan 2007 23:09
30 lines
2234 bytes
2234 bytes
In article <87y7nw118p.fsf@windlord.stanford.edu>,
Russ Allbery <rra@stanford.edu> wrote:
>Hm. It really should have given you an error message when that didn't
>work. And there does appear to be code here to call mailArtAndDie if
>inews fails, with the output of inews included. I wonder why that didn't
>work.
It turned out that it did send an error message. Either i was too
tired to notice, or the mail seemed to take some time to end up in
root's mailbox (and later news's mailbox once i realized i hadn't set
the 'usenet: news' alias), and i'm pretty sure i checked repeatedly.
But yes, the fact that debugging = 1 (or the undocumented -n flag)
failed to produce any output whatsoever was quite irksome. Another
thing i think is a bug
# can't use $inn::tmpdir as we're usually not running as news
my $Tmpdir = "/var/tmp" ;
But, six lines above that:
my $Database = ($opt_b || $inn::pathtmp) . "/mailpost-msgid" ;
$Tmpdir gets used for the temporary article, but the msgid database
and lockfile still try getting written to $PATHTMP.
rone
--
Clever got me this far
Then tricky got me in
Technical Details
Message-ID:
<rone.ep0rs5$352$1@ennui.org>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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!news.glorb.com!news.kjsl.com!ncf.ca!boredom.ennui.org!not-for-mailReferences:
<rone.eos643$s6s$1@ennui.org> <rone.ep0e2r$2soj$1@ennui.org> <87y7nw118p.fsf@windlord.stanford.edu>Show Full Headers
Complete Article Headers
Message-ID: <rone.ep0rs5$352$1@ennui.org> Subject: Re: INN's mailpost Date: Sun, 21 Jan 2007 23:09:57 +0000 From: "rone" <^*&#$@ennui.org> References: <rone.eos643$s6s$1@ennui.org> <rone.ep0e2r$2soj$1@ennui.org> <87y7nw118p.fsf@windlord.stanford.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!news.glorb.com!news.kjsl.com!ncf.ca!boredom.ennui.org!not-for-mail Newsgroups: news.software.nntp Organization: Hümper Dü Boys Choir Lines: 30 NNTP-Posting-Host: localhost Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: boredom.ennui.org 1169420997 3235 127.0.0.1 (21 Jan 2007 23:09:57 GMT) X-Complaints-To: usenet@boredom.ennui.org NNTP-Posting-Date: Sun, 21 Jan 2007 23:09:57 +0000 (UTC) X-URL: http://ennui.org/rone/