This is a discussion on smtpd_proxy, amavisd-new, and logging problems within the mailing.postfix.users forums, part of the Mail Servers and Related category; I've been using postfix with amavisd-new for a little over a week now, and I've been very ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I've been using postfix with amavisd-new for a little over a week now,
and I've been very happy with it over my old qmail install (I finally gave up on the "accept-then-bounce" behavior, among other things). The one thing that's bugging me is that when I used amavisd-new as a content filter, I got normally-formatted log lines like: May 5 23:37:45 delta postfix/smtp[4925]: 8D3592D8078: to=<DELETED>, relay=127.0.0.1[127.0.0.1], delay=5, status=bounced (host 127.0.0.1[127.0.0.1] said: 550 5.7.1 Message content rejected, id=04867-02 - VIRUS: Eicar-Test-Signature, Eicar-Test-Signature (in reply to end of DATA command)) pflogsumm liked those. Since I switched amavisd-new over to the smtpd_proxy setup, I get no such logging unless I invoke smtpd -v via master.cf - and then the formatting is different: May 10 20:45:16 delta postfix/smtpd[10330]: > 127.0.0.1[127.0.0.1]: 550 5.7.1 Message content rejected, id=10122-06 - VIRUS: Eicar-Test-Signature, Eicar-Test-Signature From what I can see, the amavisd-new response hasn't changed one whit - it's the postfix behavior to that response that has changed as a result of my changing the configuration to smtpd_proxy. What's the easiest method to log the info I need without using smtpd -v (that's a whole LOT of info I *don't* need at this time - things are working about the way I'd like *except* for logging the rejections/reasons!)? -- spam delenda est |