OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: /etc/mailname
From: Thomas Roessler (roesslerguug.de)
Date: Fri Feb 25 2000 - 07:11:29 CST


On 2000-02-25 12:05:19 +0100, Wouter Hanegraaff wrote:

> After helping a friend with sendmail (he insisted) there were
> some sendmail leftovers on my system. one of them was
> /etc/mailname. Although I set my own domainname in my postfix
> main.cf using myorigin, mails I sent out had headers like
> Message-ID: <20000222124251.A10357Myfriendsdomain.dom>

> The only place were Myfriendsdomain.dom was listed was in the
> leftover sendmail config files, and after deleting them all
> things are back to normal...

/etc/mailname usually doesn't come from sendmail, but may be just
another configuration file added by your system supplier. For
instance, Debian GNU/Linux has this file, and all the mail software
on the system is expected to honor it, be it via patches, or be it
by appropriate configuration.

The message-IDs you are observing are most probably not created by
Postfix, but by mutt (assuming your mail headers don't lie ;-).
It's quite possible that the mutt installed on your system (1) has
been patched to read /etc/mailname when it exists, or (2) evaluates
/etc/mailname from /etc/Muttrc (or whereever the global
configuration file is stored).

-- 
http://www.guug.de/~roessler/