CentOS Icon CentOS Logo
CentOS Text
   
  
www.centos.org Forum Index
   CentOS 6 - Networking Support
  Email Issue

 

 Bottom   Previous Topic   Next Topic
  •  Rate Thread
      Rate this Thread
      Excellent
      Good
      Average
      Bad
      Terrible
Poster Thread
  •  Iridiumx2
      Iridiumx2
Email Issue
#1
Newbie
Joined: 2011/11/22
From South Florida, USA.
Posts: 3
Hi I have an issue with email in a fresh install of CentOS 6. The server is in a internal LAN with a non-routable private IP. I opened port 25 and 110 using SSH in iptables. The weird part is that I can send email using the mail command in SSH to only some email addresses. I was successful at sending email to a Gmail address as well, but it went into the bulk folder.

Here is a copy of the headers in an internal email I received...


Return-path: <seXXXXXX@host-server16.com>
Envelope-to: rXXXXX@maXXXXXXXXXXXX.com
Delivery-date: Fri, 25 Nov 2011 03:50:35 -0600
Received: from [X8.203.74.XXX] (port=44105 helo=host-server16.com)
by gator1501.hostgator.com with esmtp (Exim 4.69)
(envelope-from <seXXXXXXXXXX@host-server16.com>)
id 1RTsQV-00056y-DZ
for reXXXX@maXXX.com; Fri, 25 Nov 2011 03:50:35 -0600
Received: by host-server16.com (Postfix, from userid 500)
id 5E41A102012; Fri, 25 Nov 2011 04:50:35 -0500 (EST)
Date: Fri, 25 Nov 2011 04:50:35 -0500
To: reXXXXXXX@maiXXXXXXXX.com
Subject: test2
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20111125095035.5E41A102012@host-server16.com>
From: seXXXXX@host-server16.com (seXXXXXXX)


I also changed the host file from localhost to host-server16.com because it was stating in the email headers "localhost-server name"

I install Active Campaign in the server but it can not send or receive, even when I tell it to use an external SMTP account.

I did made a testing.php page and uploaded it to /var/www/html... when I test it, using my internal IP, I do get a php page stating that PHP 5.3.2 is installed.

What I would like to do is have my internal hosted server relay using SMTP. So my domain host-server16.com is hosted in a shared hosting environment but I can relay using SMTP and dynamic DNS to reach this server.

I came across this link in order to relay using Postfix, but I have to fix the email issue first...

http://www.howtoforge.com/postfix_relaying_through_another_mailserver

I am also a little confused about Postfix and Heirloom mailx. In the header states both MTAs, which one am I using?

Thanks for your help.
Posted on: 2011/11/25 20:37
Create PDF from Post Print
Top
 Top   Previous Topic   Next Topic

 


 You cannot start a new topic.
 You can view topic.
 You cannot reply to posts.
 You cannot edit your posts.
 You cannot delete your posts.
 You cannot add new polls.
 You cannot vote in polls.
 You cannot attach files to posts.
 You cannot post without approval.




"Linux" is a registered trademark of Linus Torvalds. | All other trademarks are property of their respective owners. | All other content is Copyright @ 2004-2009 by the CentOS Project or "each individual contributor (forums, comments, etc.) unless otherwise assigned".| Theme based on a theme by 7dana.com