> Hi All,
>
> Now I'm using courier-imap for POP and IMAP service and
> Postfix for SMTP.
> But I have one problem about logging by default courier-imap
> log to syslog
> by using
> mail facility same my Postfix so it's too confused when I saw
> the POP, IMAP
> and SMTP
> in the same file like /var/log/maillog.
>
> How I change the log facility of courier-imap to other
> facility suck as
> local1, local2,... ?
Edit source tcpd/logger.c
Here is an example diff file.
********************
diff -r -u courier-imap-2.2.1/tcpd/logger.c courier-imap-2.2.1-patched/tcpd/logger.c
--- courier-imap-2.2.1/tcpd/logger.c Thu Aug 16 04:38:43 2001
+++ courier-imap-2.2.1-patched/tcpd/logger.c Thu Feb 19 19:43:08 2004
@@ -38,7 +38,7 @@
| LOG_NOWAIT
#endif
- , LOG_MAIL);
+ , LOG_AUTHPRIV);
close(1);
close(2);
open("/dev/null", O_WRONLY);
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users