[patch] Use /etc/mailname if available
Robert Collins
robertc at robertcollins.net
Tue Dec 20 12:38:51 GMT 2005
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.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051220/65b90708/attachment.pgp
More information about the bazaar
mailing list