Now, amavisd runs with minimum logging:
$log_level = 0; # verbosity 0..5, -d
because this is the default.
But I miss some details, especially the spam rules details. As a workaround, I look for rules in email headers, but this is not always possible (i.e. when you have an internal mail server).
Moreover, some utilities / log analyzers / statistics generators need at least $log_level = 2 to work.
I’d like to change NethServer default to 2, the logfile size increase is not big (size doubles, but we’re talking about small volumes) but for every processed email we gain lines like:
No, score=-2.507 tagged_above=-100 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_FONT_LOW_CONTRAST=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2 =-0.001, RP_MATCHES_RCVD=-0.608, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
I’m using a templates-custom file since last July, no side effects apart a log size (25Mb/week before, 50Mb/week after).
Note: I’m used to spamd logging, I’d like to have something similar with amavisd.