[Top][All Lists]

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

[bug-mailutils] Bug#509810: localhost To: should honor /etc/mailname on

From: jidanni
Subject: [bug-mailutils] Bug#509810: localhost To: should honor /etc/mailname on Debian
Date: Sat, 27 Dec 2008 01:05:03 +0800

Package: mailutils
Version: 1:1.2+dfsg1-4
X-Debbugs-Cc: address@hidden

All I know is
$ echo|mail $USER
Envelope-to: address@hidden
To: <address@hidden>
X-Mailer: mail (GNU Mailutils 1.2)
Message-Id: <address@hidden>
From: address@hidden

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 - the visible mail name of the system
       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.

reply via email to

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