Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th November 2009, 09:04
varius varius is offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Issue with Postfix using "Perfect CentOS 5.3" setup

Hi guys,

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 (67.23.188.10-14 usable). I setup my hostname as getzlaf.ghostball.com pointing to IP 67.23.188.14. 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 [67.23.188.10])
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 = 63.23.188.14

in my /etc/postfix/main.cf, however then it fails to bind and gives me the following error:

postfix/smtp[16423]: warning: smtp_connect_addr: bind 63.23.188.14: Cannot assign requested address

as well as

amavis[1550]: (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!

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 24th November 2009, 22:44
varius varius is offline
Junior Member
 
Join Date: Nov 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Well I could not solve this, so I just reversed the order of IPs on my server so .14 is first; works fine. Not the proper solution, but I guess it's the only option at this time.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail server using Postfix, Dovecot, Mysql... Postfix virtual maps doesn't work?? tarasbuljba HOWTO-Related Questions 33 28th May 2010 14:33
Need help get mail to work (can't recieve and apperently can't send) omega13a Installation/Configuration 19 20th August 2009 21:06
postfix configuration issue raulb Server Operation 2 13th June 2008 17:38
Trouble with Postfix setup not working wmkconn Server Operation 13 9th April 2008 21:45
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40


All times are GMT +2. The time now is 06:50.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.