Issue with Postfix using "Perfect CentOS 5.3" setup
I just installed a fresh CentOS 5.3 server following the ISPConfig-3 guide to make the "Perfect Server". Everything seemed to work like a charm.
However, I am having issues with sending out mail. Here is the situation:
I have multiple IPs on my server (126.96.36.199-14 usable). I setup my hostname as getzlaf.ghostball.com pointing to IP 188.8.131.52. The problem I am having, is mails being sent out are treated as coming from .10 not .14 like I would like.
Here is an example from GMail headers:
Received: from getzlaf.ghostball.com (ghostball.com [184.108.40.206])
by mx.google.com with ESMTP id 30si10032486yxe.54.2009.11.23.23.54.17;
Mon, 23 Nov 2009 23:54:18 -0800 (PST)
As you can imagine, as it's seeing it sent from .10, it's failing the SPF check.
How can I change the configuration so that Postfix sends out on .14 or uses the hostname, instead of .10 ?
I have tried setting the config option
smtp_bind_address = 220.127.116.11
in my /etc/postfix/main.cf, however then it fails to bind and gives me the following error:
postfix/smtp: warning: smtp_connect_addr: bind 18.104.22.168: Cannot assign requested address
as well as
amavis: (01550-20) (!!)WARN: all primary virus scanners failed, considering backups
That makes me think it may be some sort of Postfix/amavisd conflict, perhaps.
I've spent hours on this, Googling and researching and have gotten nowhere ;/
Any help will be greatly appreciated, I am certain it must be something simple!