Article View: news.software.nntp
Article #80191Re: posting oooold email archive to my inn2 server
From: Julien ÉLIE
Date: Fri, 27 Feb 2009 18:59
Date: Fri, 27 Feb 2009 18:59
30 lines
2181 bytes
2181 bytes
Hi Jon,
>> The problem is that I read in mailpost, at the end of mailArtAndDie():
>>
>> exit (0) ; # Using a non-zero exit may cause problems.
>
> Proper error handling is importent. Errors should propergate until
> they can be dealt with.
Change added to INN 2.5.0. (You can backport it to your INN 2.4.x if you want.)
--- mailpost.in 2009-02-27 18:50:53 UTC (rev 8358)
+++ mailpost.in 2009-02-27 18:54:27 UTC (rev 8359)
@@ -510,8 +510,9 @@
close SENDMAIL ;
# unlink $tmpfile ;
-
- exit (0) ; # Using a non-zero exit may cause problems.
+
+ # We use here a non-zero exit. It should normally not cause problems.
+ exit(1);
}
--
Julien ÉLIE
« La moitié des hommes politiques sont des bons à rien.
Les autres sont prêts à tout. » (Coluche)
Technical Details
Message-ID:
<go9d72$jgv$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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.trigofacile.com!not-for-mailReferences:
<go3dcd$upa$1@munin.diku.dk> <go42tl$83t$1@news.trigofacile.com> <go5je3$148h$1@munin.diku.dk>Show Full Headers
Complete Article Headers
Message-ID: <go9d72$jgv$1@news.trigofacile.com> Subject: Re: posting oooold email archive to my inn2 server Date: Fri, 27 Feb 2009 19:59:06 +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> 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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.albasani.net!news.trigofacile.com!not-for-mail Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Lines: 30 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 1235761186 19999 83.197.19.112 (27 Feb 2009 X-Complaints-To: abuse@trigofacile.com NNTP-Posting-Date: Fri, 27 Feb 2009 18:59:46 +0000 (UTC) In-Reply-To: <go5je3$148h$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