Article View: news.software.nntp
Article #80195Re: posting oooold email archive to my inn2 server
From: Russ Allbery
Date: Sat, 28 Feb 2009 01:27
Date: Sat, 28 Feb 2009 01:27
31 lines
2644 bytes
2644 bytes
Jon Bendtsen <noone@example.com> writes:
>> The expected behaviour of mailpost is said in the man page when it
>> receives a "known Message-ID":
>>
>> If the article has been seen before (mailpost records the Message-ID
>> of each article it handles), then the article will be silently dropped.
>>
>> I do not see a reason why we should really change that and return an
>> error. mailpost also exits silently when fed nothing (empty input).
>
> i dont see why exit code 0 should mean one of 2 things happened.
> Either the post got posted
> or it was dropped
> If it was dropped, i want to know why, so i can handle it. Silently
> dropping stuff and returning the message "everything is okay" is not
> something i consider good data management.
Then what you're arguing with is the "silently" part, not the exit
status. You're basically saying that mailpost shouldn't silently drop
articles that it's seen before.
The reason why it does this is because it provides better behavior in the
presence of crossposting. But perhaps someone will want to develop an
option so that they can choose the behavior they want.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87fxhze4fs.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!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!postnews.google.com!news2.google.com!newsfeed.stanford.edu!news.stanford.edu!not-for-mailReferences:
<go3dcd$upa$1@munin.diku.dk> <go42tl$83t$1@news.trigofacile.com> <go5je3$148h$1@munin.diku.dk> <go9d72$jgv$1@news.trigofacile.com> <go9g8f$1dhr$1@munin.diku.dk> <go9h98$of3$1@news.trigofacile.com> <go9nqf$1e3r$1@munin.diku.dk>Show Full Headers
Complete Article Headers
Message-ID: <87fxhze4fs.fsf@windlord.stanford.edu> Subject: Re: posting oooold email archive to my inn2 server Date: Fri, 27 Feb 2009 17:27:35 -0800 From: Russ Allbery <rra@stanford.edu> References: <go3dcd$upa$1@munin.diku.dk> <go42tl$83t$1@news.trigofacile.com> <go5je3$148h$1@munin.diku.dk> <go9d72$jgv$1@news.trigofacile.com> <go9g8f$1dhr$1@munin.diku.dk> <go9h98$of3$1@news.trigofacile.com> <go9nqf$1e3r$1@munin.diku.dk> 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!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!postnews.google.com!news2.google.com!newsfeed.stanford.edu!news.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 31 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.stanford.edu 1235784455 26191 171.67.225.134 (28 Feb 2009 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:6CvQ/M1jQw8MqxrQ1ACKJGeFesQ= X-Original-Bytes: 2383