In Postfix, if I want to reject based on certain dnsbl hits prior to
injecting into Amavis I do it in master.cf, right? Like this:

smtp      inet  n       -       -       -       -       smtpd
        -o receive_override_options=no_address_mappings
        -o smtpd_sender_restrictions=reject_unknown_sender_domain
        -o smtpd_client_restrictions=permit_mynetworks,
                                     reject_rbl_client sbl-xbl.spamhaus.org,
                                     reject_rbl_client bl.spamcop.net,
                                     reject_rbl_client dul.dnsbl.sorbs.net,
                                     reject_rbl_client dynablock.njabl.org
        -o smtpd_recipient_restrictions=permit_mynetworks,       
                                     permit_sasl_authenticated,
                                     reject_unauth_destination,

amavis unix - - n - 5 smtp
        -o smtp_data_done_timeout=1500
        -o disable_dns_lookups=yes
        -o smtp_send_xforward_command=yes

127.0.0.1:10025 inet n - n - - smtpd
        -o content_filter=
        -o 
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
        -o local_recipient_maps=
        -o relay_recipient_maps=
        -o smtpd_restriction_classes=
        -o smtpd_client_restrictions=
        -o smtpd_helo_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o mynetworks=127.0.0.0/8
        -o strict_rfc821_envelopes=yes

Gerald




-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to