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 22.214.171.124
As of now any request coming from 126.96.36.199 is accepted by my server
I want to have a restriction such that only “from” addresses with ‘example.com’ coming from 188.8.131.52 will be accepted
Similarly i want to configure different from addresses for different IP’s