I am trying to understand how to get milters working. I have installed postfix and amavisd-new. I want to get clamav and spamassassin working with it. I know that by default spamassassin is installed with amavisd-new when using the ports collection. I got these milters working before but I don't think I did it the correct way. The way that I got both clamav-milter and spamassassin to scan mail was by uncommenting InputMailFilters in the /etc/mail/sendmail.cf file and adding clamav and spamassassin there. Is this the correct way of getting milters working with postfix? Because with amavisd-new the mail was being scanned by amavisd but not by spamassassin or clamav until I modified that sendmail.cf file. Any information so that I can get a better understanding would be greatly appreciated.