Gentlemen, you had better insure mail (GNU Mailutils 1.1) behaves
properly when given closed stdin!

Currently it attempts to send kilobytes of who knows what binary mess
"payload", different on each run.

$ mail -s subscribe [EMAIL PROTECTED] <&-
 is a lot different than
$ mail -s subscribe [EMAIL PROTECTED] </dev/null

Here are what each make in the exim4 queue
  -rw-r----- 1 Debian-exim 53391 1HHq2P-0002nR-5W-D
  -rw-r----- 1 Debian-exim    19 1HJXNQ-000176-Lr-D

The latter is a proper exim4 empty body.

The former varies by kilobytes each run.

You can read about <&- on the bash man page.

nail(1) doesn't act this way.


_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils

Reply via email to