Laurent LEVIER wrote: > [snip] >> for SA, just use amavisd-new. It can also do antivirus check, but if you >> want to reject infected mail, then you need to run amavisd-new as a >> proxy_filter (before the queue). If you really want this, then configure >> amavisd-new to listen on multiple sockets and one of them will be a >> proxy_filter for AV checks only. while you can run SA at the same time, >> this is not recommended (if it takes time, the connection will timeout, >> ... etc). >> >> alternatively, use >> - clamsmtp as a proxy_filter to reject infected mail > clamsmtp, I dont know this one. If it does not listen the port itself, > why not.
it's a proxy, so it needs a port (whichever you want) and will connect to clamd. > Else, I planned to use clamav-milter, but wanted to finish with the > Messaging protection stack first. > >> - amavisd-new as a content_filter to run SA (and why not, to also run >> another AV). >> >> In either case, you don't need to run spamd, as long as you don't want >> per-user Bayes. If you want per-user Bayes, then you should run >> spamc/spamd at delivery time (except if this is just a gateway, but then >> per user Bayes requires a lot of work...). > Do you mean spamc is not a caller to spamd? That's what I undertood.. spamc does call spamd. but if you use amavisd-new, you won't need spamc/spamd, because amavisd-new calls SA libs directly.