"Stephen J. Turnbull" <stephen(a)xemacs.org> writes:
Jason's example is bogus here; the invocation of /tmp/emptyfile
succeeds! (At least on Linux, under ash, bash, and csh.)
Bogus? Emacs should silently succeed in this case? If for some
reason /usr/sbin/sendmail got truncated, you'd lose mail until you
happened to notice this.
Mutt for example bails out with:
"Error sending message, child exited 127 (exec error)"
Other MUAs behave in a similar fashion.
In any case, when I tested Simon's one-line patch, I was testing by
introducing a typo into my TMDA outgoing filter. Something also
caught by other MUAs. e.g, under Mutt:
"Error sending message, child exited 1 ()"
Traceback (most recent call last):
File "/home/jasonrm/cvs/tmda/dist/bin/tmda-inject", line 374, in ?
main()
File "/home/jasonrm/cvs/tmda/dist/bin/tmda-inject", line 340, in main
outfilter.read(Defaults.FILTER_OUTGOING)
File "/home/jasonrm/cvs/tmda/dist/TMDA/FilterParser.py", line 146, in read
self.__parse(fp)
File "/home/jasonrm/cvs/tmda/dist/TMDA/FilterParser.py", line 180, in __parse
raise exception
TMDA.FilterParser.ParsingError: Filter contains parsing errors:
/home/jasonrm/.tmda/filters/outgoing
[line 13]: "oops": unrecognized filter rule
--
(
http://tmda.sourceforge.net/)