Robert Horton wrote:
Courier was logging to /var/log/mail.log. I do not have a log rotating program (someone want to recommend one with a link?). mail.log was getting fairly large so I moved mail.log, created a new one and restarted courier. Instead of logging to the new mail.log, it started logging to sys.log. This morning I did the same thing with sys.log and restarted courier, but now it does not appear to be logging to anywhere!
Courier normally logs to syslog. Syslog keeps its file open, so if you move mail.log and create a new one, syslog will still be logging to the file it had open (whatever you moved mail.log to). Even if you delete the mail.log file, syslog keeps logging to it and using more disk space. It's a feature of Unix systems. ;)
Give the syslogd process a HUP signal.
------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
