On Sat, 03 Oct 2009, LuKreme wrote: > My spammed.log file is empty:
Do you mean spamd.log? > $ cat /var/log/spamd.log > Oct 3 00:00:00 mail newsyslog[82079]: logfile turned over OK, so newsyslog(8) is working as expected. > $ psa spam > root 921 0.0 0.9 76268 4536 ?? Ss 26Sep09 5:04.07 > /usr/local/bin/spamd -c -s /var/log/spamd.log -d -r /var/run/spamd/ > spamd.pid (perl5.10.0) As documented in the spamd(1) man page: -s facility, --syslog=facility Specify the syslog facility So, specifly a syslog FACILITY instead of a FILENAME. See syslogd(8) and syslog.conf(5) man pages for more. > $ ls -ls /var/log/spamd.log > 2 -rw-r----- 1 root wheel 59 Oct 3 00:00 /var/log/spamd.log > $ grep spam /etc/newsyslog.conf > /var/log/spamd.log 640 91 * @T00 J This has nothing to do with your problem; see the newsyslog(8) and newsyslog.conf(5) man pages to understand why. > It certainly looks to me like the spammed output should be logged to > /var/log/spamd.log. No. -- Sahil Tandon <sa...@tandon.net>