🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80193

Re: posting oooold email archive to my inn2 server

#80193
From: Julien ÉLIE
Date: Fri, 27 Feb 2009 20:08
28 lines
2448 bytes
Hi Jon,

> I already changed my own script. i changed ALL exit(0) to another
> number. First exit 0 to exit 1, then 2, then ...
>
> So far i have hit 3 and 6. I think 3 is "known Message-ID" and 6 is
> some other error (this one gives me an error message).

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).


However, it is true that we should return an error if mailpost could not
write its temporary file or fork a process upon crossposting.

-- 
Julien ÉLIE

« A man inserted an 'ad' in the classifieds: "Wife wanted".
  Next day he received a hundred letters.  They all said
  the same thing:  "You can have mine." » 
Technical Details
Message-ID: <go9h98$of3$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!nntp.giganews.com!xlned.com!feeder3.xlned.com!news2.euro.net!feeds.phibee-telecom.net!side3.eu!gegeweb.org!news.trigofacile.com!not-for-mail
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>

Show Full Headers
Complete Article Headers
Message-ID: <go9h98$of3$1@news.trigofacile.com>
Subject: Re: posting oooold email archive to my inn2 server
Date: Fri, 27 Feb 2009 21:08:31 +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>
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!nntp.giganews.com!xlned.com!feeder3.xlned.com!news2.euro.net!feeds.phibee-telecom.net!side3.eu!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 28
NNTP-Posting-Host: amontpellier-152-1-54-112.w83-197.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1235765354 25059 83.197.19.112 (27 Feb 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Fri, 27 Feb 2009 20:09:14 +0000 (UTC)
In-Reply-To: <go9g8f$1dhr$1@munin.diku.dk>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049