[patch] Use /etc/mailname if available

Jan Hudec bulb at ucw.cz
Wed Dec 21 08:39:18 GMT 2005


On Tue, Dec 20, 2005 at 23:38:51 +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.

I believe it is only used by the exim4-config beast.

-- 
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051221/0c39a47f/attachment.pgp 


More information about the bazaar mailing list