Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Cant get this to work' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Cant get this to work
Authored by: offsky on May 29, '01 01:20:34PM

I cant seem to get sendmail to work on my machine. I set it up like it says in the link. The only difference is that my machine does not have a name, so in the hostname part I put my IP number. Now when I run the tail command in one window and try to use sendmail I get this error:

May 29 10:04:10 localhost sendmail[349]: My unqualified host name (localhost) unknown; sleeping for retry
May 29 10:05:10 localhost sendmail[349]: unable to qualify my own domain name (localhost) -- using short name
May 29 10:05:10 localhost sendmail[349]: NOQUEUE: SYSERR(www): /etc/mail/ line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory
May 29 10:05:10 localhost sendmail[349]: gethostbyaddr( failed: 1

Any ideas?

[ Reply to This | # ]
Just do this!
Authored by: Brak on Jan 19, '02 05:56:27AM
I have encountered this problem with every default of OS X I have ever had. You can simply make the root and /etc/mail directories not group-writable by typing the following:
chmod g-w /
chmod g-w /etc/mail
Ta-da, its that easy

[ Reply to This | # ]