Debian Bug report logs - #509810
unqualified recipient (To:) - use /etc/mailname on Debian

version graph

Package: mailutils; Maintainer for mailutils is Jordi Mallach <[email protected]>; Source for mailutils is src:mailutils (PTS, buildd, popcon).

Reported by: [email protected]

Date: Fri, 26 Dec 2008 17:12:02 UTC

Severity: wishlist

Found in versions 1:0.4+20040414-3, mailutils/1:1.2+dfsg1-4

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Jordi Mallach <[email protected]>:
Bug#509810; Package mailutils. (Fri, 26 Dec 2008 17:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
New Bug report received and forwarded. Copy sent to [email protected], Jordi Mallach <[email protected]>. (Fri, 26 Dec 2008 17:12:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: [email protected]
To: [email protected]
Subject: 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: [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.




Forcibly Merged 253513 509810. Request was from Jordi Mallach <[email protected]> to [email protected]. (Sun, 27 Sep 2009 18:45:06 GMT) (full text, mbox, link).


Disconnected #253513 from all other report(s). Request was from Daniel Pocock <[email protected]> to [email protected]. (Wed, 06 Sep 2017 09:57:15 GMT) (full text, mbox, link).


Changed Bug title to 'unqualified recipient (To:) - use /etc/mailname on Debian' from 'localhost To: should honor /etc/mailname on Debian'. Request was from Daniel Pocock <[email protected]> to [email protected]. (Wed, 06 Sep 2017 09:57:15 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 15:28:44 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.