:-) On 2/7/21 6:34 PM, Benny Pedersen wrote:
On 2021-02-07 18:28, Marek Kozlowski wrote:Mail from 192.168.3/24 with sender's address 'sth3.tld' should be accepted even if the user is not authenticated, and rejected without authentication for other CIDR blocks.add 192.168.0.0/16 to mynetworks you show bogus logs btw
No!"Mail from 192.168.1/24 with sender's address 'sth1.tld' should be accepted even if the user is not authenticated, and rejected without authentication for other CIDR blocks. "
Mail from 192.168.1/24 should be accepted for 'sth1.tld' but not for 'sth2.tld'!
I need something more flexible more restrictive in comparison to 'permit_mynetworks'. I don't want to consider come CIDR trusted, privileged hosts at all. I just want to say: unauthorized email with this domainname (exactly this one!) address should be accepted if it goes from this (exactly this one!) IP range and should be unconditionally rejected in all other cases.
Best regards, Marek
smime.p7s
Description: S/MIME Cryptographic Signature