On 8/8/2014 4:58 AM, li...@rhsoft.net wrote: > 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 >
It is not possible for postfix to do conditional milters because postfix must connect to the milter at the beginning of the SMTP session, before any client/sender/recipient information is known. But some milters have their own settings per client/sender/recipient. -- Noel Jones