SASL information after reinjection

David Reis dreis at
Fri Oct 14 17:36:31 CEST 2011

Hello, We encounter a problem while processing postfix logs. We scan logs to store information on a database. To increase speed we just took information after amavis reinjection. But we need to have sasl info. The problem is that this is available only before reinjection, when postfix treat the mail for the firs time. When the mail comes back from amavis, this is no more available. Here is a little example :   the first part of the mail (id : 504A66F8090) postfix/smtpd[1062]: 504A66F8090:[YY.YY.YY.YY], sasl_method=PLAIN, sasl_username=xxx at xxx postfix/smtp[1136]: 504A66F8090: to=<xxx at xxx>, relay=[]:10024, delay=0.31, delays=0.18/0/0.01/0.13, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=09278-02, from MTA([]:10025): 250 2.0.0 Ok: queued as 839016F8092)   And now after reinjection (id 839016F8092) postfix/smtpd[1066]: 839016F8092: client=unknown[YY.YY.YY.YY]   As you can see, we don't have sasl information after reinjection. Is there a way to get it? Thanks. David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the amavis-users mailing list