Verify the proper configuration for blocking/whitelisting a sender.

2020-10-27 Thread 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 And within that file have both white & blacklist like so: youareok.com OK yo

Re: Verify the proper configuration for blocking/whitelisting a sender.

2020-10-27 Thread Wietse Venema
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_dest

Re: Verify the proper configuration for blocking/whitelisting a sender.

2020-10-27 Thread Joey J
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 t

Re: Verify the proper configuration for blocking/whitelisting a sender.

2020-10-27 Thread Benny Pedersen
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 & bl

Re: Verify the proper configuration for blocking/whitelisting a sender.

2020-10-27 Thread Benny Pedersen
Wietse Venema skrev den 2020-10-27 20:58: smtpd_recipient_restrictions= check_sender_access hash:some-file check_sender_access cidr:other-file would it not be check_client_access for the cidr map ?

Re: Verify the proper configuration for blocking/whitelisting a sender.

2020-10-27 Thread Joey J
I'm not sure, that's why I wanted to verify, I haven't used postfix since 2.11 so I have to get back into the details. On Tue, Oct 27, 2020 at 4:15 PM Benny Pedersen wrote: > Wietse Venema skrev den 2020-10-27 20:58: > > > smtpd_recipient_restrictions= > >check_sender_access hash:some-file

Re: Accessing the sending user from a canonical(5) table

2020-10-27 Thread John Stoffel
> "Wietse" == Wietse Venema writes: Wietse> Viktor Dukhovni: >> > On Oct 25, 2020, at 9:08 PM, Wietse Venema wrote: >> > >> > What about making the '#' a suffix instead? That is still unlikely >> > to clash with existing user naming schemes. BTW I realize that there >> > is no unit test for

Re: Accessing the sending user from a canonical(5) table

2020-10-27 Thread Viktor Dukhovni
> On Oct 27, 2020, at 11:42 PM, John Stoffel wrote: > > Could someone have an email address of "uid:j...@some.place.home" down > the line? The lookup key is a login name, given the syntax of the passwd(5) file, no ":" characters can appear in a login name. -- Viktor.