~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cd37b90
)
Don't report failure just because MTA is being over-picky
author
Richard Kettlewell
<rjk@greenend.org.uk>
Tue, 3 Jun 2008 17:42:25 +0000
(18:42 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Tue, 3 Jun 2008 17:42:25 +0000
(18:42 +0100)
lib/sendmail.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/sendmail.c
b/lib/sendmail.c
index
12291b8
..
2dc82d0
100644
(file)
--- a/
lib/sendmail.c
+++ b/
lib/sendmail.c
@@
-271,11
+271,11
@@
int sendmail(const char *sender,
;
if(w < 0)
fatal(errno, "error calling waitpid");
- if(w)
{
-
error(0, "
%s -bs: %s", config->sendmail, wstat(w));
- if(!rc)
- rc = -1;
- }
+ if(w)
+
info("warning:
%s -bs: %s", config->sendmail, wstat(w));
+ /* Not fatal - we determine success/failure from the SMTP conversation.
+ * Some MTAs exit nonzero if you don't QUIT, which is just stupidly
+ * picky. */
}
return rc;
}