On Mon, Jan 09, 2006 at 02:21:23PM -0200, Marcio Merlone wrote:
> I am setting a mailserver using ubuntu 5.10 with standard packages only,
> consisting on Postfix, OpenLDAP, Courier-imap/pop, Maildrop, and so on.
>
> I want to make pop/imap log to syslog on a diferent facility, so I can
> separate mail logs from pop/logs logs. I could change postfix,
> anti-vir, anti-spam and all other tools (when possible) to use another
> facility, but seems easier and cleaner to change just pop/imap facility
> and leave mail.* to all MTA related programs.
>
> By reading the man pages, I have a command line parameter -facility to
> courierlogger where I can specify a different facility, but it seems
> not possible to be used when it is called from couriertcpd (according
> to man pages).
Upgrade to courier-imap-4.x and courier-authlib. The feature is then
available from the startup scripts as 'LOGGEROPTS=...'
> $TCPD -address=$ADDRESS \
> -stderrlogger=${sbindir}/courierlogger \
> -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
> -pid=$PIDFILE $TCPDOPTS \
> $PORT ${libexecdir}/courier/imaplogin $AUTHMODULELIST \
> ${bindir}/imapd $MAILDIR"
In the later versions, this has been turned around so that courierlogger is
the *parent* and couriertcpd the child, and so it's easy to pass extra
options to courierlogger.
Brian.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap