INN commit: trunk/frontends (mailpost.in)
INN Commit
Russ_Allbery at isc.org
Sun May 3 22:07:06 UTC 2009
Date: Sunday, May 3, 2009 @ 15:07:05
Author: iulius
Revision: 8440
Log the error to syslog in case the e-mail version of the error
isn't sent.
Thanks to D. Stussy for the patch.
Modified:
trunk/frontends/mailpost.in
-------------+
mailpost.in | 1 +
1 file changed, 1 insertion(+)
Modified: mailpost.in
===================================================================
--- mailpost.in 2009-05-01 09:20:24 UTC (rev 8439)
+++ mailpost.in 2009-05-03 22:07:05 UTC (rev 8440)
@@ -492,6 +492,7 @@
sub mailArtAndDie {
my ($msg) = @_ ;
+ syslog("err", "$msg\n") if $debugging && $use_syslog;
print STDERR $msg,"\n" if -t STDERR ;
open(SENDMAIL, "|" . sprintf ($Sendmail,$Maintainer)) ||
More information about the inn-committers
mailing list