noisy amavisd-log, how to reduce but keep spam-score and attachment-log?

steveg scrt011 at gmail.com
Wed Aug 9 08:25:46 CEST 2017


Hi,
I have amavisd-new 2.10.1 on debian with $log_level = 2 running. I need
amavis log infos about spam-score (in a logfile-line which starts with
spam-tag) and about attachements (name, size), but no noisy
performance-infos like below. How could performance-details in syslog be
disabled? Switching to $log_level = 1 wouldn't gain infos about
attachements and score.

Thanks
Steve


Aug  8 16:10:34 mx3 amavis[12865]: (12865-01) TIMING-SA total 172 ms -
parse: 1.02 (0.6%), extract_message_metadata: 3.7 (2.2%), get_uri_de
tail_list: 0.12 (0.1%), tests_pri_-1000: 5 (2.9%), tests_pri_-950: 1.19
(0.7%), tests_pri_-900: 1.28 (0.7%), tests_pri_-400: 1.13 (0.7%), t
ests_pri_0: 82 (47.4%), check_spf: 44 (25.4%), poll_dns_idle: 60 (34.7%),
check_dkim_signature: 0.65 (0.4%), check_pyzor: 0.16 (0.1%), test
s_pri_500: 47 (27.5%), get_report: 0.46 (0.3%)

and this

Aug  8 16:10:34 mx3 amavis[12865]: (12865-01) size: 230, TIMING [total
21763 ms] - SMTP greeting: 5 (0%)0, SMTP EHLO: 0.9 (0%)0, SMTP pre-M
AIL: 0.7 (0%)0, mkdir tempdir: 1.1 (0%)0, create email.txt: 0.2 (0%)0, SMTP
pre-DATA-flush: 2101 (10%)10, SMTP DATA: 19437 (89%)99, check_i
nit: 0.6 (0%)99, digest_hdr: 0.4 (0%)99, digest_body: 0.2 (0%)99,
collect_info: 1.5 (0%)99, mkdir parts: 1.0 (0%)99, mime_decode: 6 (0%)99,
 get-file-type0: 0.3 (0%)99, parts_decode: 0.0 (0%)99, check_header: 0.7
(0%)99, AV-scan-1: 4.9 (0%)99, AV-scan-2: 14 (0%)99, spam-wb-list:
 0.8 (0%)99, SA msg read: 0.4 (0%)99, SA parse: 1.9 (0%)99, SA check: 169
(1%)100, decide_mail_destiny: 4.8 (0%)100, notif-quar: 0.4 (0%)10
0, prepare-dsn: 0.8 (0%)100, report: 1.4 (0%)100, main_log_entry: 4.5
(0%)100, update_snmp: 1.1 (0%)100, SMTP pre-response: 0.2 (0%)100, SM
TP response: 0.2 (0%)100, unlink-1-files: 0.2 (0%)100, rundown: 0.8 (0%)100
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20170809/24ea2ceb/attachment.html>


More information about the amavis-users mailing list