2009/6/15 Stéphane MERLE <stephane.me...@distrigame.com>: > 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)
My understanding of the Postfix internals isn't that good, but I suspect it's just not that simple. Example: your From address may be subject to rewriting; which one should Postfix log? Postfix may not keep the pre-rewrite address, I'm not sure. As for modifying Postfix's logging, I don't believe it's possible without editing the source; it's not configurable.