X-Spam-Status to log

İhsan Doğan ihsan at dogan.ch
Fri Apr 22 22:01:46 CEST 2016


Hi Patrick,

On Friday, 22 Apr 2016 21:49 +0200, Patrick Ben Koetter wrote:

> > Is it possible to add the X-Spam-Status additionally to the amavis log line?
> 
> Try this:

[...]

> You should see something like this in your log:
> 
> Apr 22 04:45:18 echo amavis[27999]: (27999-03) Passed CLEAN {AcceptedInbound}, AM.PDP-SOCK [69.163.254.50] [209.85.213.66] <sender at example.com> -> <recipient at sys4.de>, Queue-ID: 3qrg2j0YzSzyxg, Message-ID: <CAPBvRV9BwoPFYH-MSpiac3Qjr2Hjfxsj_nkYM-d_XMmx9HM3iA at example.com>, mail_id: xHpF37B1Ok2D, Hits: 0.313, size: 13196, Tests: [DKIM_ADSP_CUSTOM_MED=0.001,DKIM_SIGNED=0.1,FREEMAIL_FORGED_FROMDOMAIN=0.199,FREEMAIL_FROM=0.001,HEADER_FROM_DIFFERENT_DOMAINS=0.001,HTML_MESSAGE=0.001,T_DKIM_INVALID=0.01], 891 ms

Works like a charm. Thank you very much!



Ihsan

-- 
ihsan at dogan.ch http://blog.dogan.ch/


More information about the amavis-users mailing list