Quote:
Originally Posted by csaunders
So i beleive if i take the loghost entry out of /etc/hosts and then alter the mail line in syslog.conf to look like this... i should be ok
mail.debug /var/log/syslog
anyone think this is a bad idea?
I know that on some syslog implementations you can use spaces to separate the facility from the log. On Solaris (at least Solaris 6, which was the last time I worked with a syslog dedicated server), you
must have only tabs between the facility and the log file name.
I just checked OS X, Mandrake Linux and OpenBSD and all use tabs.
Make sure the file exists before you restart syslog (yea I saw your earlier post that said it was zero bytes, just a note for the folks at home
).
Again, you might try using logger:
logger -p mail.debug -t testing "Testing to see if syslog is really working."
If you have an existing entry, you can replace mail.debug with one of those facilities and check that log. Basically make sure syslog itself is working so you know what you're trying to fix. Perhaps your mail program isn't configured to log to mail.debug (need to increase a debug level for example).
Carl