Hi,

and i think mailpost should exit with an error when articles are not posted.

The problem is that I read in mailpost, at the end of mailArtAndDie():

   exit (0) ;                  # Using a non-zero exit may cause problems.

I do not know the reason for that but I believe there is one...  Or *was* one...

Anyway, change added to INN 2.5.0.  (You can backport it to your future INN 
2.4.6
packaged release 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)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to