[patch] Use /etc/mailname if available
Wouter van Heyst
larstiq at larstiq.dyndns.org
Wed Dec 21 11:29:16 GMT 2005
On Tue, Dec 20, 2005 at 11:38:51PM +1100, Robert Collins wrote:
> On Tue, 2005-12-20 at 03:39 -0500, James Blackwell wrote:
> > On Sun, Dec 18, 2005 at 08:01:30AM -0600, John A Meinel wrote:
> > >
> > > Is there a way to check if socket.gethostname() returns something
> > > reasonable? I know I've never heard of /etc/mailname before. I couldn't
> > > find it in man pages, though I believe I understand how it should work.
> >
> > /etc/mailname is common on Debian and Ubuntu systems at least. I think I
> > may have seen it on slackware systems as well.
>
> Interestingly though, exim ignores it (or at least my exim4 config,
> which is stock and not tweaked) does, as /etc/mailname says
> 'localhost.localdomain', which is clearly wrong.
An Exim satellite install will rewrite that automatically.
Wouter van Heyst
More information about the bazaar
mailing list