On Tuesday, November 27, 2001, at 04:11 PM, Che Stevens wrote:

> Thanks
> This shows to log pop3 and smtp to seperate files, is there any way 
> around
> that or how do i got setting that up via splooger.  Right now everything
> goes to /var/log/maillog via splogger.  Thanks again.

I haven't looked into qmailmrtg7, but I log pop separately by changing 
the logging facility in in vchkpw.c to local0.

Change:
openlog(LOG_NAME,LOG_PID,LOG_MAIL);

To:
openlog(LOG_NAME,LOG_PID,LOG_LOCAL0);

Then, setup syslog to log local0.* to whatever file you want.  Mine is 
/var/log/vpopmail.  And don't forget to setup this new file for 
rotating...

Regards,

Bill

Reply via email to