Joey J:
> Hello All,
> 
> Trying to make sure I'm doing this correctly, both at the right point
> within the mail communications and in the format of my hash file.
> 
> smtpd_recipient_restrictions=
>    check_sender_access hash:name of file

This may be OK, provded that you have reject_unauth_destination or
defer_unauth_destination in your smtpd_relay_restrictions.

> And within that file have both white & blacklist like so:
> youareok.com   OK
> youarebad.com  REJCT
> 1.2.3.4  550 Block-I dont like you
> 1.5.6.0/24 550 Block I dont like any of you.

The last form is supported only with CIDR maps.

smtpd_recipient_restrictions=
   check_sender_access hash:some-file
   check_sender_access cidr:other-file

        Wietse

Reply via email to