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:Thierry B (mail@thierry.eu.org)
Date:Feb 3, 2006 4:13:38 pm
List:net.sourceforge.lists.courier-maildrop

Sam Varshavchik a écrit :

Thierry B writes:

Hello,

I'd like to use maildrop wit syslog, so after, I'll be able to use maildrop logs with syslog-ng.

I've recompiled maildrop with the option: --enable-syslog=1

I've put that at the beginning of my /etc/maildroprc:

SENDMAIL="/usr/sbin/sendmail -oi -f $FROM" #logfile "/var/log/maildrop.log" VERBOSE = "5" log "========"

so I commented my previous line logfile.

But when I make:

cat /var/log/syslog | grep -i "maildrop"

I just have the lines maildrop used bu postfix to call maildrop, but not the log files of maildrop.

See INSTALL:

• --enable-syslog=1 - if specified, maildrop will log all fatal errors to syslog(3). This is recommended for sendmail, which does not log error messages for delivery agents.

So, does the above maildrop recipe look like a "fatal error" to you?

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?

Thanks :-)

Bye.