Hi

smtpd_milters = unix:/run/clamav-milter/clamav-milter.socket
 unix:/run/spamass-milter/spamass-milter.sock

so far works fine on a testing environment

but is there a way to combine it with restriction classes and
other rules while running as milter just because before-queue
to avoid become a backscatter?
_______________________________________________

below an theoretical example how i would like to have it work

* postscreen in front for blacklists
* basic checks
* PTR checks
* virus scan unconditional
* whitelists to disable content filters
* spamassasin

smtpd_recipient_restrictions = permit_mynetworks
 reject_non_fqdn_recipient
 reject_non_fqdn_sender
 reject_unlisted_sender
 check_client_access proxy:regexp:/etc/postfix/spam-ptr.cf
 unix:/run/clamav-milter/clamav-milter.socket
 permit_dnswl_client list.dnswl.org
 unix:/run/spamass-milter/spamass-milter.sock

Reply via email to