Topic: smtp outbound bind to specific IP address
I've run into a wall where I can as a standard with postfix just use the 'smtp_bind_address' address directive in the master.cf file to bind all outbound connections to a particular ip address. I've found doing this with the iRedmail system produces error in the mail log files.
amavis: (!)DENIED ACCESS from IP XXX.XXX.XXX.XXX, policy bank ''
If I leave out the bind directive emails flow in and out but postfix delivers email attaching itself to the highest ip address allocated on the server. I however need it to use the first ip address so that it matches our DNS PTR record.
Email is currently being delivered outbound on 18.104.22.168, however I need to have it use 22.214.171.124.
Does anyone have a working solution for this?
- Urgent issue? Pay iRedMail developer to solve it remotely at $39.