[patch] Use /etc/mailname if available

James Blackwell jblack at merconline.com
Tue Dec 20 08:39:21 GMT 2005


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.





More information about the bazaar mailing list