Topic: Using specific IP for outgoing mail
==== Provide basic information to help troubleshoot ====
- iRedMail version: 0.7.1
- Linux/BSD distribution name and version: CentOS 5.6
====
Our server has 4 IP address. We would like to use one IP address for incoming mail and other IP for outgoing mail as one of the current IP got blocked by google. I've done "smtp_bind_address = 66.175.125.2xx" in the main.cf file. It also has "inet_interfaces = all". But the smtp service not working now. Here's the log file:
Aug 24 15:02:36 mail-new amavis[6554]: (06554-14) (!)DENIED ACCESS from IP 66.175.125.2xx, policy bank ''
Aug 24 15:02:36 mail-new postfix/smtp[7618]: 76B6883F647: to=<poll@eclip.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.6, delays=1.6/0/0/0, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
I've also tried "inet_interfaces = 66.175.125.3x, 127.0.0.1". Same thing. Also tried to add the 66.175.125.2xx IP in amavisd.conf file like "inet_acl => [qw( 66.175.125.2xx 127.0.0.1 [::1] )],". Still no luck.
Any advice please?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.