|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Miguel Angel Tormo (mlists
edicom.eu)
Date: Mon Apr 02 2007 - 04:52:59 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
El Lunes 02 Abril 2007 11:42, Ralf Hildebrandt escribió:
> * Черкендов Александр Армаисович <ch
sg.tgk-8.ru>:
> > so how i can get in log something like this?
> > out>postfix lalala esmtp
> > ehlo me
> > 250 lala
> > 250 lalala
> > mail from:me
me.me
> > rcpt to:u
u.u
>
> debug_peer_list=mail.charite.de,other.mail.server
>
> in that case you get the logs in that form for
> mail.charite.de and other.mail.server
>
> If all else fail, make the log verbose globally and then use something
> like syslog-ng to remove the unneeded info.
>
I have this filtering configured in syslog-ng for getting only the sessions:
filter conex_detect {match(" > ") or match(" < ");};
filter conexiones { program("postfix.*") and filter(conex_detect); };
log { source(src); filter(conexiones); destination(conexiones); };
It is not perfect, but works for me.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]