I scan incoming mail with bogofilter. Here is the related part of master.cf :

smtp      inet  n       -       n       -       -       smtpd
  -o content_filter=filter:
  -o receive_override_options=no_address_mappings 
filter    unix  -       n       n       -       -       pipe
    flags=Rq user=filter argv=/usr/local/etc/bogofilter/postfix-filter.sh -f 
${sender} -- ${recipient}   

Is it possible to not filter if sender IP is in list.dnswl.org 
<http://list.dnswl.org/> using master.cf or main.cf ?

Or the only way is to rewrite postfix-filter.sh script and add the check there?

Reply via email to