Am 08.08.2014 um 11:11 schrieb Robert Schetterer: > Am 08.08.2014 um 10:32 schrieb li...@rhsoft.net: >> 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 > > that sounds you want something like > http://milter-manager.sourceforge.net/reference/introduction.html
thanks, bookmarked looks like build a rock-solid and manageable spamfirewall VM to replace a commercial blackbox becomes a "funny" project and having time until summer 2016 helps to plan features careful luckily "smtpd_relay_restrictions = reject" exists for that project to only accept listed rcpt and deliver via transtport-tables to the right backend server what makes it easy to add "OK" actions without become an open relay - split MX and submission on different machines ______________________________________________________________ dreamed about like below but dreams don't always become true :-) smtpd_milters = unix:/run/clamav-milter/clamav-milter.socket permit_dnswl_client list.dnswl.org check_sender_access proxy:hash:/etc/postfix/disable-sender-contentfilter.cf check_recipient_access proxy:hash:/etc/postfix/disable-rcpt-contentfilter.cf unix:/run/spamass-milter/spamass-milter.sock