11 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] use maildrop with syslog
FromSent OnAttachments
Thierry BFeb 3, 2006 3:54 am 
Sam VarshavchikFeb 3, 2006 2:44 pm 
Thierry BFeb 3, 2006 4:13 pm 
Sam VarshavchikFeb 3, 2006 6:24 pm 
Thierry BFeb 4, 2006 12:59 am 
moussFeb 4, 2006 1:36 pm 
Thierry BFeb 5, 2006 6:07 am 
moussFeb 5, 2006 9:56 am 
Thierry BFeb 6, 2006 4:42 am 
moussFeb 8, 2006 3:10 am 
Thierry BFeb 12, 2006 11:43 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:Re: [maildropl] use maildrop with syslogActions...
From:mouss (mou@netoyen.net)
Date:Feb 4, 2006 1:36:41 pm
List:net.sourceforge.lists.courier-maildrop

Thierry B a écrit :

No, So there is no way to log maildrop logs with something like that? /var/log/$YEAR:$MONTH:$DAY/maildrop.log ?

Because syslog-ns is able to do that but I find no way for ssyslog-ng to see maildrop logs. It's not possible to use a facility in maildrop I think because it was possible, I'd be able to use a path like that?

you can exec logger. I use something like this:

.... logger=/usr/bin/logger .. __LOGS__="-t maildrop -p mail.info from=<${SENDER}> to=<${RECIPIENT}>"

if (blah blah) { exception { `$logger ${__LOGS__} class=$class score=$score folder=$folder` to $folder } }

so that I get logs in /var/log/maillog saying what happened with each mail.