Joey J skrev den 2020-10-27 20:44:
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
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.
hash does not support cidr mapping
check sender is only test sender domains with valid local part,
so seperate matching in seperate check foo access with seperatly maps
remember each check foo access is checked in order of listning