LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-25-2011, 04:38 PM   #1
Iridiumx2
LQ Newbie
 
Registered: Jul 2011
Location: South Florida, USA
Distribution: Debian Squeeze & CentOS 6
Posts: 11

Rep: Reputation: Disabled
Question Email Issue


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://howtoforge.com/postfix_relayi...her_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.

Last edited by Iridiumx2; 11-25-2011 at 04:39 PM.
 
Old 11-27-2011, 12:36 PM   #2
Linux303
LQ Newbie
 
Registered: Dec 2002
Posts: 8

Rep: Reputation: 0
>>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.

Did you look at /var/log/maillog? 9/10 it will tell you why the message wad rejected.


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

Heirloom is the MUA. Postfix is the MTA
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios Email Issue Babs Linux - Newbie 3 07-25-2011 02:51 PM
Email Quota issue salmanriaz321 Linux - Newbie 0 02-22-2011 11:58 PM
Email filter issue the_gripmaster Linux - Server 0 11-27-2007 01:58 AM
hostname / email issue I_AM Linux - General 2 07-15-2005 11:39 AM
Email Box Issue yisi Linux - General 2 03-22-2002 03:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration