2 messages in net.sourceforge.lists.courier-users[courier-users] Courier logger change...
FromSent OnAttachments
Alex FrancuOct 29, 2004 1:58 am 
Alex FrancuOct 29, 2004 3:44 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[courier-users] Courier logger change facilityActions...
From:Alex Francu (afra@pentalog.fr)
Date:Oct 29, 2004 1:58:43 am
List:net.sourceforge.lists.courier-users

Hello,

I've revently installed Courier-IMAP as imap/pop3 server. The default for courierlogger facility is LOG_MAIL I want to change the logger facility in order to direct the log messages to other file than the default mail log ( /var/lib/maillog )

Can I do that at start time of courier-imap server ? I can't seem to find any options concerning the logger in courier-imap server configuration files I've already tried modifing imapd.rc startup.script

/usr/lib/courier-imap/libexec/couriertcpd -address=$ADDRESS \ -stderrlogger='${exec_prefix}/sbin/courierlogger -fa cility=LOG_LOCAL3' \ -stderrloggername=imapd ....

but it does not seem to work, because the logger called this way appears to accept only one parameter : stderrloggername.

Any help would be appreciated. Thanks in advance, Alex