Hello,

Please help me to solve this issue:

I'm using the courier-0.54.0 on FreeBSD. Everything works fine but I 
want to put logs into the separate files.

There is an LOGGEROPTS option in the imapd, sqwebmaild, pop3d 
configuration files. But I can't find the similar option in the esmtpd 
configuration file.

By default all logs about incoming messages are wroted to the 
var/log/maillog file.

I've tried to add

TCPDOPTS="-stderrlogger='/usr/local/sbin/courierlogger -facility=local0' 
-nodnslookup -noidentlookup"

, but it doesn't work.

More clearly here is the part of the /var/log/maillog:

...

 >Mar 16 14:57:30 dspam courieresmtpd: started,ip=[213.59.11.4]
 >Mar 16 14:57:30 dspam courierd: newmsg,id=0003F456.45FA862A.0000F83E: 
dns; mx.onego.ru ([213.59.11.4])
 >Mar 16 14:57:30 dspam courierd: 
started,id=0003F456.45FA862A.0000F83E,from=<[EMAIL 
PROTECTED]>,module=local,[EMAIL PROTECTED]
 >Mar 16 14:57:30 dspam courierd: Waiting.  shutdown time=none, wakeup 
time=Fri Mar 16 15:01:20 2007, queuedelivering=16, inprogress=1 ...
 >Mar 16 14:57:30 dspam courierlocal: 
id=0003F456.45FA862A.0000F83E,from=<[EMAIL PROTECTED]>,addr=<[EMAIL 
PROTECTED]>...
 >Mar 16 14:57:30 dspam courierlocal: 
id=0003F456.45FA862A.0000F83E,from=<[EMAIL PROTECTED]>,addr=<[EMAIL 
PROTECTED]>,size=767,success:...
 >Mar 16 14:57:30 dspam courierd: completed,id=0003F456.45FA862A.0000F83E

...

And I want to place such messages into another log file.

Thanks for help

-- 
Best regards, Andrey Ananin




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to