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