bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] sends payload if stdin closed


From: Dan Jacobson
Subject: [bug-mailutils] sends payload if stdin closed
Date: Wed, 21 Feb 2007 00:07:33 +0800

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 address@hidden <&-
 is a lot different than
$ mail -s subscribe address@hidden </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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]