LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-18-2012, 12:29 PM   #1
betohres
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Rep: Reputation: Disabled
Smile My own domain mails do not deliver


OK, good day all.

Thgis is my story: In some months past, I did have 4 domains hosted in our server (Linux fedora), then 3 domains were transferred to a external hosting service, all it's OK but, if I try to send mail messages with one of the our domains still in our server, to one of current domain in external hosting specifically, the messages do not be delivering to that domain, and I have no mail error come back in my sender inbox mailbox.

I did ask to my external hosting provider, if he can see an error in the incoming mailbox in this domain but he says, NO I HAVE NO ERROR, AND NO TRACE OF ANY INCOMING MAIL OF MY OWN DOMAIN IN OUR SERVER.

If I try to send mail of my own domain (hosted in our server), to external domains, other that my newest external hosted domains, like (gmail, yahoo, hotmail) the mail send and deliver correctly to the recipients.

What I need to review in my mail server? filkes, services, cache files, cache daemons?

Thanks al lot for your attentions.
 
Old 01-18-2012, 01:31 PM   #2
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
Let me guess - you have cPanel installed on your server?
 
Old 01-18-2012, 01:33 PM   #3
ceyx
Member
 
Registered: May 2009
Location: Fort Langley BC
Distribution: Kubuntu,Free BSD,OSX,Windows
Posts: 342

Rep: Reputation: 58
Post deleted - misread the problem....ignore

Last edited by ceyx; 01-18-2012 at 01:36 PM.
 
Old 01-18-2012, 01:36 PM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi betohres,

Welcome to LQ!!!

Let me sum it up. You had 4 domains configured on 1 RHEL server. Then 3 of the domains got transferred to external email hosting company. Now, when you send email from RHEL server (which still host 1 domain) to other 3 domains (external) it does not get deliver. However, if you send email from RHEL server to other domains like gmail, yahoo etc it does get deliver. It appears that RHEL server still thinks that it host those 3 domains.

Things we need to know:

1. Email service you are running sendmail/postfix?
2. Did you check the mailq when you send email to those 3 domains.
3. mx record for those domains. Are they still pointing to this server or they have been removed?
4. If possible paste related configuration files
 
Old 01-18-2012, 02:45 PM   #5
betohres
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by klearview View Post
Let me guess - you have cPanel installed on your server?

The new current hosting service server, yes, it have a CPANEL. That have some implications? Thanks
 
Old 01-18-2012, 02:46 PM   #6
betohres
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
The current external hosting service?, Yes, It have a CPANEL (FEROZOPANEL). Why? This have some implications?. Thanks a lot.
 
Old 01-18-2012, 03:21 PM   #7
klearview
Member
 
Registered: Aug 2006
Location: London
Distribution: Debian, Kubuntu
Posts: 572

Rep: Reputation: 75
Quote:
Originally Posted by betohres View Post
The current external hosting service?, Yes, It have a CPANEL (FEROZOPANEL). Why? This have some implications?. Thanks a lot.
No, I meant on the one that sends out e-mails.

But regardless - the problem will be the same (it's just that for cPanel I would have told you a 10-second solution). As T3RM1NVT0R said - that server most likely still views those 3 domains as internal and the e-mails don't even leave the machine so all we need to establish now is what mail server you are running and, if any, server management software - then amend relevant config files. (Also to be on the safe side - check your /etc/hosts too)


And for those that may face similar problem in the future and do have cPanel - all you need to do is delete the lines with relevant domains from /etc/localdomains and insert them into /etc/remotedomains; then restart the mail server)
 
Old 01-19-2012, 10:12 AM   #8
betohres
LQ Newbie
 
Registered: Jan 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Smile My zone archive in Fedora named directory

Quote:
Originally Posted by T3RM1NVT0R View Post
Hi betohres,

Welcome to LQ!!!

Let me sum it up. You had 4 domains configured on 1 RHEL server. Then 3 of the domains got transferred to external email hosting company. Now, when you send email from RHEL server (which still host 1 domain) to other 3 domains (external) it does not get deliver. However, if you send email from RHEL server to other domains like gmail, yahoo etc it does get deliver. It appears that RHEL server still thinks that it host those 3 domains.

Things we need to know:

1. Email service you are running sendmail/postfix?
2. Did you check the mailq when you send email to those 3 domains.
3. mx record for those domains. Are they still pointing to this server or they have been removed?
4. If possible paste related configuration files

--------------------------

Thanks a lot for your attention.

1.- Yes sendmail/posfix
2.- The mailq response is that 3 mails goes out reaching the destinations server and 0 preprocesed tasks
2.1 the qmail-queue commnand says nothing in queue
3.- mx has been removed
4.- Sorry, my firewall lock any configuration file out

One thing more. There was one e-mail of one our external domains send to our server hosting domain, and the Firewall Barracuda, catch it, and deliver OK. Thats the onlyone ocurrence, all other do not arrive to a destination server, tehe was no evidence in my Barracuda antispam.

Thanks a lot

Thanks
 
Old 01-19-2012, 01:16 PM   #9
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Let me put it this way. Those 3 domains are able to receive email from public domains but not from this domain hosted on your RHEL machine. This RHEL machine is able to receive emails from those 3 domains but not able to send back to them. So the issue appears to be either in this machine or the firewall.

I would like to see the param that you have set for the following:

1. $mydomain
2. $mydestination

in your main.cf file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] How to deliver mails recieved by fetchmail struggled_newbie Linux - Newbie 5 10-04-2010 05:26 AM
Sometimes sendmail does not deliver mail mails to clients sachinaxn Linux - Newbie 0 11-25-2008 04:06 AM
How can I deliver mails which hold in mailq? combilli Linux - Server 1 06-23-2007 03:52 AM
Allow only local domain mails reject other mails sikkalgopal Linux - Server 0 04-03-2007 01:51 AM
QMAIL/MAILDROP/PROCMAIL: obtaining the filename used to deliver the new mails madhurtanwani Linux - Software 2 09-23-2005 01:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration