Jorge Arias writes:


Hello,

I'm trying to disable courier IMAP and POP logging to /var/log/maillog is that 
posible.
Because the maillog file is getting very heavy.

The four startup script are imapd.rc, pop3d.rc, impd-ssl.rc, and pop3d-ssl.rc, in the default installation directory of /usr/lib/courier-imap/libexec.

The startup scripts run courierlogger, which forks a child process that runs couriertcpd, whose standard output and error is captured by courierlogger. couriertcpd in turn runs other binaries to handle imap and pop3 connections, as they come in. Their standard output and error, inherited from courierctpd gets captures by courierlogger, and logged.

Replace couriertcpd with a wrapper script that invokes couriertcpd, redirecting its stdout and stderr to /dev/null.


Attachment: pgpQWg5XrC9RX.pgp
Description: PGP signature

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to