ExtMail服务器社区's Archiver

glodenchang 发表于 2010-2-5 08:18

如何不记录下面日志?

如何不记录下面日志,也就是说不要记录在log中,来节省邮件传输的时间:

Feb  5 07:13:13 mailgate amavis[18886]: (18886-17) TIMING [total 11889 ms] - SMTP greeting: 4 (0%)0, SMTP EHLO: 2 (0%)0, SMTP pre-MAIL: 0 (0%)0, SMTP pre-DATA-flush: 4 (0%)0, SMTP DATA: 38 (0%)0, check_init: 1 (0%)0, digest_hdr: 3 (0%)0, digest_body_dkim: 0 (0%)0, gen_mail_id: 3 (0%)0, mime_decode: 14 (0%)1, get-file-type1: 13 (0%)1, decompose_part: 1 (0%)1, parts_decode: 0 (0%)1, check_header: 2 (0%)1, AV-scan-1: 10 (0%)1, spam-wb-list: 2 (0%)1, SA parse: 4 (0%)1, SA check: 11536 (97%)98, update_cache: 16 (0%)98, decide_mail_destiny: 2 (0%)98, notif-quar: 4 (0%)98, stat-mbx: 15 (0%)98, open-mbx: 3 (0%)98, write-header: 4 (0%)98, save-to-local-mailbox: 1 (0%)98, fwd-connect: 17 (0%)98, fwd-mail-pip: 55 (0%)99, fwd-rcpt-pip: 0 (0%)99, fwd-data-chkpnt: 0 (0%)99, write-header: 2 (0%)99, fwd-data-contents: 0 (0%)99, fwd-end-chkpnt: 109 (1%)100, prepare-dsn: 2 (0%)100, main_log_entry: 15 (0%)100, update_snmp: 4 (0%)100, SMTP pre-response: 1 (0%)100, SMTP response: 0 (0%)100, unlink-2-files: 1 (0%)100, rundo...

glodenchang 发表于 2010-2-10 12:44

也就是说不要显示下面的LOG,各位前辈是在哪里设啊?

glodenchang 发表于 2010-2-12 10:08

设置/etc/amavisd.conf
$log_level = 0;

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.