On Fri, Dec 19, 2008 at 02:11:39PM -0500, Terry Carmen wrote:

> content_filter=amavisfeed:[127.0.0.1]:10024
> to
> content_filter=cidr:/special_routing.cidr

No. You set it empty.

        content_filter =

> then,
> 
> special_routing.cidr:
> 127.0.0.1/32 smtp:exchange server ip
> 0.0.0.0/0 amavisfeed:[127.0.0.1]:10024

special_routing.cidr:
    127.0.0.1/32        DUNNO
    0.0.0.0/0           FILTER amavisfeed:[127.0.0.1]:10024

main.cf:
    smtpd_client_restrictions =
        check_client_access cidr:${config_directory}/special_routing.cidr

If the hosts exempt from the filter are *exactly* $mynetworks, you can
instead:

    smtpd_client_restrictions =
        permit_mynetworks,
        check_client_access cidr:${config_directory}/special_routing.cidr

and drop the "DUNNO" line in the CIDR table.

-- 
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majord...@postfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

Reply via email to