[patch] Use /etc/mailname if available

Robert Collins robertc at robertcollins.net
Wed Dec 21 09:49:47 GMT 2005


On Wed, 2005-12-21 at 09:39 +0100, Jan Hudec wrote:
> 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.

Well I ran that a week ago, and it appears to have been ignored by
that :).

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/20051221/1ec7805c/attachment.pgp 


More information about the bazaar mailing list