Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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
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)
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.
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:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.