Closed hxily closed 8 years ago
how setting rmilter skip clamscan when clamd is down.
postfix is return 4.7.1 Service unavailable - try again later when clamd is error. 2016-02-24 13:55:02 rmilter[19044]: clamav: write 127.0.0.1: Connection refused 2016-02-24 13:55:02 rmilter[19044]: clamscan: failed to scan, retry, 127.0.0.1, /tmp/msg.XXqoy8wd 2016-02-24 13:55:03 rmilter[19044]: clamav: write 127.0.0.1: Connection refused 2016-02-24 13:55:03 rmilter[19044]: clamscan: failed to scan, retry, 127.0.0.1, /tmp/msg.XXqoy8wd 2016-02-24 13:55:04 rmilter[19044]: clamav: write 127.0.0.1: Connection refused 2016-02-24 13:55:04 rmilter[19044]: clamscan: failed to scan, retry, 127.0.0.1, /tmp/msg.XXqoy8wd 2016-02-24 13:55:05 postfix/smtpd[25898]: connect from unknown[112.86.44.121] 2016-02-24 13:55:05 rmilter[19044]: clamav: write 127.0.0.1: Connection refused 2016-02-24 13:55:05 rmilter[19044]: clamscan: failed to scan, retry, 127.0.0.1, /tmp/msg.XXqoy8wd 2016-02-24 13:55:06 postfix/smtpd[25898]: EE1F22080C: client=unknown[112.86.44.121] 2016-02-24 13:55:06 rmilter[19044]: clamav: write 127.0.0.1: Connection refused 2016-02-24 13:55:06 rmilter[19044]: clamscan: retry limit exceeded, 127.0.0.1, /tmp/msg.XXqoy8wd 2016-02-24 13:55:06 rmilter[19044]: clamscan: scan 4.006368, 127.0.0.1, /tmp/msg.XXqoy8wd 2016-02-24 13:55:06 rmilter[19044]: mlfi_eom: C1AE720865: check_clamscan() failed, -1 2016-02-24 13:55:06 rmilter[19044]: msg done: C1AE720865: ip: 207.46.100.101; from: ap.wong@honeyw.com; rcpt: fuq@guycann.com (1 total); user: unauthorized; spam scan: no spam; virus scan: delayed, temporary fail; dkim: unsigned 2016-02-24 13:55:07 postfix/cleanup[25934]: C1AE720865: milter-reject: END-OF-MESSAGE from mail-by2on0101.outbound.protection.outlook.com[207.46.100.101]: 4.7.1 Service unavailable - try again later; from=ap.wong@honeyw.com to=fuq@uycann.com proto=ESMTP helo=
thank you!
how setting rmilter skip clamscan when clamd is down.
postfix is return 4.7.1 Service unavailable - try again later when clamd is error. 2016-02-24 13:55:02 rmilter[19044]: clamav: write 127.0.0.1: Connection refused 2016-02-24 13:55:02 rmilter[19044]: clamscan: failed to scan, retry, 127.0.0.1, /tmp/msg.XXqoy8wd 2016-02-24 13:55:03 rmilter[19044]: clamav: write 127.0.0.1: Connection refused 2016-02-24 13:55:03 rmilter[19044]: clamscan: failed to scan, retry, 127.0.0.1, /tmp/msg.XXqoy8wd 2016-02-24 13:55:04 rmilter[19044]: clamav: write 127.0.0.1: Connection refused 2016-02-24 13:55:04 rmilter[19044]: clamscan: failed to scan, retry, 127.0.0.1, /tmp/msg.XXqoy8wd 2016-02-24 13:55:05 postfix/smtpd[25898]: connect from unknown[112.86.44.121] 2016-02-24 13:55:05 rmilter[19044]: clamav: write 127.0.0.1: Connection refused 2016-02-24 13:55:05 rmilter[19044]: clamscan: failed to scan, retry, 127.0.0.1, /tmp/msg.XXqoy8wd 2016-02-24 13:55:06 postfix/smtpd[25898]: EE1F22080C: client=unknown[112.86.44.121] 2016-02-24 13:55:06 rmilter[19044]: clamav: write 127.0.0.1: Connection refused 2016-02-24 13:55:06 rmilter[19044]: clamscan: retry limit exceeded, 127.0.0.1, /tmp/msg.XXqoy8wd 2016-02-24 13:55:06 rmilter[19044]: clamscan: scan 4.006368, 127.0.0.1, /tmp/msg.XXqoy8wd 2016-02-24 13:55:06 rmilter[19044]: mlfi_eom: C1AE720865: check_clamscan() failed, -1 2016-02-24 13:55:06 rmilter[19044]: msg done: C1AE720865: ip: 207.46.100.101; from: ap.wong@honeyw.com; rcpt: fuq@guycann.com (1 total); user: unauthorized; spam scan: no spam; virus scan: delayed, temporary fail; dkim: unsigned 2016-02-24 13:55:07 postfix/cleanup[25934]: C1AE720865: milter-reject: END-OF-MESSAGE from mail-by2on0101.outbound.protection.outlook.com[207.46.100.101]: 4.7.1 Service unavailable - try again later; from=ap.wong@honeyw.com to=fuq@uycann.com proto=ESMTP helo=