Article View: news.software.nntp
Article #80198Re: posting oooold email archive to my inn2 server
From: Julien ÉLIE
Date: Sat, 28 Feb 2009 08:20
Date: Sat, 28 Feb 2009 08:20
39 lines
2989 bytes
2989 bytes
Hi D. Stussy,
>> 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.
We only have not to execute the test:
if (defined $DATABASE{$message_id}) {
exit 0 if (!$opt_c);
}
"-c" is used for crossposts, as you mention. So it will not change the behaviour
of mailpost when crossposts are seen (with "-c").
> Option: OK, but why? If mailpost has seen it before, then chances are the
> message ID will still be in the news server's history file (assuming it
> hasn't expired out) and will reject as a duplicate. I don't think such an
> option would therefore be useful.
Indeed. If I bypass the test:
% cat test | ./mailpost trigofacile.test
inews failed: inews: cannot send article to server: 441 435 Duplicate inews: article not posted
zsh: done cat test |
zsh: exit 1 ./mailpost trigofacile.test
[with exit 1 -- but maybe we could just exit(1) after the test when "-c" is not used,
and write a message error to say what happened]
Is it what you want? or another thing?
--
Julien ÉLIE
« -- Ils devraient pourtant savoir que le sanglier c'est sacré pour nous.
-- Et toi, tu as une sacrée façon de l'adorer. » (Astérix)
Technical Details
Message-ID:
<goas6d$29m$1@news.trigofacile.com>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!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!fdn.fr!gegeweb.org!news.trigofacile.com!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> <87fxhze4fs.fsf@windlord.stanford.edu> <goaqvb$lcj$1@aux.snarked.org>Show Full Headers
Complete Article Headers
Message-ID: <goas6d$29m$1@news.trigofacile.com> Subject: Re: posting oooold email archive to my inn2 server Date: Sat, 28 Feb 2009 09:20:52 +0100 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> 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> <87fxhze4fs.fsf@windlord.stanford.edu> <goaqvb$lcj$1@aux.snarked.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!border1.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder2-2.proxad.net!proxad.net!feeder1-2.proxad.net!fdn.fr!gegeweb.org!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 39 NNTP-Posting-Host: amontpellier-152-1-54-112.w83-197.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: news.trigofacile.com 1235809293 2358 83.197.19.112 (28 Feb 2009 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Sat, 28 Feb 2009 08:21:33 +0000 (UTC) In-Reply-To: <goaqvb$lcj$1@aux.snarked.org> X-MSMail-Priority: Normal X-Newsreader: Microsoft Windows Mail 6.0.6001.18000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.0.6001.18049 X-Original-Bytes: 2747