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.
E.G.
amavis[25487]: (!)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.
E.G.
Email is currently being delivered outbound on 1.1.1.100, however I need to have it use 1.1.1.50.
Does anyone have a working solution for this?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.