Thank you Wietse, not only for replying to this messages and helping but for everything you do!
I will use the CIDR format ( I'm remembering from an older version I believe that didn't exist 2.11.11 ) For the domain names and or email addresses do you recommend a better method? And it's still OK to use the custom message for the block? Thank you! On Tue, Oct 27, 2020 at 3:59 PM Wietse Venema <wie...@porcupine.org> wrote: > 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 > -- Thanks! Joey