Am Montag, 19. März 2007 07:43 schrieb Andrey Ananin:
> I'm using the courier-0.54.0 on FreeBSD. Everything works fine but I
> want to put logs into the separate files.

I don't know enough about freebsd, but on linux, my courier server logs to 
syslog (syslog-ng in my case) and there, I can define some rules to get the 
logs separated by application.

This part is from my syslog-ng.conf file:

filter f_courierd { program("courierd"); };
filter f_courieresmtpd { program("courieresmtpd"); };
filter f_courieresmtp { program("courieresmtp"); };
filter f_courierlocal { program("courierlocal"); };
filter f_courierfilter { program("courierfilter"); };
filter f_authdaemond { program("authdaemond"); };


> 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:

Could it be that your syslog app just loggs everything to "maillog" that has 
facility set to "mail"?

cu, Bernd

Attachment: pgpaqlEwmfNQ5.pgp
Description: PGP signature

-------------------------------------------------------------------------
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