Thank you for your feedback. Seems like smtpd_milters are also used before any other check_*_access and rbl checks/header checks etc., so it's expensive this way, to pipe every mail through virus scan. I'm just testing if i could plug in clamav by check_policy_service.
Am Fr., 19. Okt. 2018 um 05:57 Uhr schrieb Olivier < olivier.nic...@cs.ait.ac.th>: > Hi, > > > I'm building a simple pair of front MX-servers to get rid of our cisco > ironports. For spam and > > virus-scanning i'd like to have spamassassin and clamav doing > pre-filtering during smtp-dialog > > rejecting bad mails and forwarding good mails to internal mail-farm. > > While for virus you may argue that there is a clear cut between clean > and infected message, it is far from being as clear for spam. What you > consider spam and would reject may be completly valid for another user. > > So, rejecting spam during smtp-dialog is risky, that is why most resolve > to some sort of quarantine, and that is when amavis comes handy. > > Best regards, > > Olivier >