2 messages in net.sourceforge.lists.courier-usersRe: [courier-users] courierlogger -fa...
FromSent OnAttachments
Eric PretoriousJun 24, 2004 7:42 pm 
Eric PretoriousJun 25, 2004 6:38 pm 
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:Re: [courier-users] courierlogger -facility switchActions...
From:Eric Pretorious (er@pretorious.net)
Date:Jun 25, 2004 6:38:47 pm
List:net.sourceforge.lists.courier-users

On Thursday 24 June 2004 07:42 pm, Eric Pretorious wrote:

How do I specify the -facility option of courierlogger?

I've read the courierlogger (http://www.courier-mta.org/courierlogger.html) and couriertcpd (http://www.courier-mta.org/couriertcpd.html) man pages. I've read the startup scipts (/etc/init.d/courier-pop3d and /usr/lib/courier-imap/courier-pop3d) that start couriertcpd.

I don't see any place to pass the -facility=foobar argument to courierlogger.

After thinking about this for a while, I came upon a much larger dilemna: How does one pass courierlogger *any* options? I realized this after staring at the -loggername section of couriertcpd man page for a while:

=====couriertcpd man page====== -stderrlogger=logprogram

Set program's standard error to a pipe, which is read by logprogram. Only one instance of logger is started, which receives standard error from every instance of program. The specified logger is executed with the output end of the stderr pipe connected as standard input. logprogram is executed with one argument - program's name.

-stderrloggername=name

Use name as the argument to logprogram, instead of the program's name. =====couriertcpd man page======

There's no provision to pass _any_ options to courierlogger via couriertcpd. :^(