Package: mailutils
Version: 1:1.2+dfsg1-4
X-Debbugs-Cc: [email protected]

All I know is
$ echo|mail $USER
makes
Envelope-to: [email protected]
To: <[email protected]>
X-Mailer: mail (GNU Mailutils 1.2)
Message-Id: <[email protected]>
From: [email protected]

Apparently /etc/mailname is only being read when constructing the From.
Mailutils on Debian should also use it when constructing the To, like
mutt apparently does.

MAILNAME(5)
NAME
       mailname - the visible mail name of the system
DESCRIPTION
       The  file /etc/mailname is a plain ASCII configuration file, which on a
       Debian system contains the visible mail name of the system.  It is used
       by many different programs, usually programs that wish to send or relay
       mail, and need to know the name of the system.

       The file contains only one line describing the fully  qualified  domain
       name that the program wishing to get the mail name should use (that is,
       everything after the @).

I.e., the ugly hostname jidanni1.jidanni.org should not appear
anywhere in the headers. We should see jidanni.org only.




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

Reply via email to