Hello all,

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). Here is the relevant part of the init script for
courier-imap:

        $TCPD -address=$ADDRESS \
            -stderrlogger=${sbindir}/courierlogger \
            -maxprocs=$MAXDAEMONS -maxperip=$MAXPERIP \
            -pid=$PIDFILE $TCPDOPTS \
            $PORT ${libexecdir}/courier/imaplogin $AUTHMODULELIST \
                ${bindir}/imapd $MAILDIR"

Can it be done somehow? Please someone point me the path. I have
already googled and found no useful information. Relevant packages are
just distribution specific, no mix of versions (stable/unstable, etc,
just ubuntu):

ii  courier-authdaemon                    0.47-3ubuntu7.1
ii  courier-base                          0.47-3ubuntu7.1
ii  courier-doc                           0.47-3ubuntu7.1
ii  courier-imap                          3.0.8-3ubuntu7.1
ii  courier-ldap                          0.47-3ubuntu7.1
ii  courier-pop                           0.47-3ubuntu7.1


Best regards and thanks in advance.

-- 
Marcio Merlone


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

Reply via email to