Magnus Bäck a écrit :
On Mon, June 15, 2009 12:01 pm, Stéphane MERLE said:

Can I, at least, add the from in the logs ?

Jun 15 11:59:01 smtp postfix/smtp[3061]: 683EB37AECA3:
to=<kdkdlem...@live.fr>, relay=mx1.hotmail.com[65.55.92.136]:25,
conn_use=91, delay=401662, delays=401197/464/0.13/0.32, dsn=2.0.0,
status=sent (250  <20090610182440.0a14a3776...@smtp.domaineamoi.com>
Queued mail for delivery)

would be :

Jun 15 11:59:01 smtp postfix/smtp[3061]: 683EB37AECA3:
from=<sen...@domaineamoi.com>, to=<kdkdlem...@live.fr>,
relay=mx1.hotmail.com[65.55.92.136]:25, conn_use=91, delay=401662,
delays=401197/464/0.13/0.32, dsn=2.0.0, status=sent (250
<20090610182440.0a14a3776...@smtp.domaineamoi.com> Queued mail for
delivery)

The envelope sender is logged by qmgr(8). Grep your log for 683EB37AECA3
and see for yourself.

Please do not top-post.

Thanks, with this tip, I manage to change the return-path and use it with a perl script to parse the log file to get my infos.

Stéphane




Reply via email to