πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #80194

Re: posting oooold email archive to my inn2 server

#80194
From: Jon Bendtsen
Date: Fri, 27 Feb 2009 22:00
43 lines
3039 bytes
Julien Γ‰LIE wrote:
> 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).

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.

Rather than thinking about if the exit(0) was correct i changed all
that was not exit($status) and figured i could handle it later. This
paied off.

Today i have posted alot of old mail messages to our new archive
system, and i have been seeing posts which was "rejected" allergedly
because the Message-ID had been seen earlier. However when manually
changing the Message-ID and then reposting it, there was no
duplicates in the group.

There might been some emails that was stored on 2 different lists,
but was really a single email to both lists. Or more lists. However
i also experienced that the post would just go wrong for some reason
and if i tried again, then it would all work.



JonB
Technical Details
Message-ID: <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!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!munin.diku.dk!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> <go9h98$of3$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <go9nqf$1e3r$1@munin.diku.dk>
Subject: Re: posting oooold email archive to my inn2 server
Date: Fri, 27 Feb 2009 23:00:47 +0100
From: Jon Bendtsen <noone@example.com>
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>
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!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!munin.diku.dk!not-for-mail
Newsgroups: news.software.nntp
Organization: Department of Computer Science, University of Copenhagen
Lines: 43
NNTP-Posting-Host: tyr.diku.dk
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: munin.diku.dk 1235772047 47227 130.225.96.226 (27 Feb 2009 22:00:47
 GMT)
X-Complaints-To: news@diku.dk
NNTP-Posting-Date: Fri, 27 Feb 2009 22:00:47 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209)
In-Reply-To: <go9h98$of3$1@news.trigofacile.com>
X-Original-Bytes: 2801