I have a SMTP postfix server , it only has IP filtering , so i allow the IP’s in access list , now i want to allow only certain ‘from’ addresses to be allowed per IP . How can i configure this in postfix ?
I have whitelisted IP 18.104.22.168
As of now any request coming from 22.214.171.124 is accepted by my server
I want to have a restriction such that only “from” addresses with ‘example.com’ coming from 126.96.36.199 will be accepted
Similarly i want to configure different from addresses for different IP’s