"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
tmda> Nope, that's a bug in Gnus, which someone really
needs to
tmda> report. If `sendmail-program' exits non-zero, Gnus silently
tmda> fails instead of stopping, and displaying the error. To see
tmda> how gross this error is, create an empty file
tmda> (/tmp/emptyfile), chmod 755, and in your .gnus:
tmda> (setq sendmail-program "/tmp/emptyfile")
tmda> Then try sending some messages and watch them happily hit
tmda> the bit-bucket.
tmda> Most other MUAs handle this situation correctly (VM, Pine,
tmda> mutt, mailx, etc.).
So I'm reporting it.
This is probably a mail-lib bug (sendmail.el) and not a gnus bug, so I
looked at it. This patch should fix it, does it?
--- sendmail.el.~1.16.~ Fri Mar 15 22:19:13 2002
+++ sendmail.el Tue Jun 4 18:29:36 2002
@@ -841,7 +841,7 @@
(require 'mail-utils)
(let ((errbuf (if mail-interactive
(generate-new-buffer " sendmail errors")
- 0))
+ nil))
(tembuf (generate-new-buffer " sendmail temp"))
(case-fold-search nil)
(coding (and (local-variable-p 'buffer-file-coding-system