MAILS GETTING BOUNCED BACK (localhost.localdomain does not exists)
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
MAILS GETTING BOUNCED BACK (localhost.localdomain does not exists)
We've had this server running before but two hours ago there are some domains outside which we cannot send email to.
this is a sample of the message we get
Quote:
The original message was received at Fri, 22 Jan 2010 14:31:59 +0800
from [10.0.200.10]
----- The following addresses had permanent fatal errors -----
<beth@nippon-antennaphil.com>
(reason: 550 localhost.localdomain does not exist)
----- Transcript of session follows -----
... while talking to nippon-antennaphil.com.:
>>> DATA
<<< 550 localhost.localdomain does not exist
550 5.1.1 <beth@nippon-antennaphil.com>... User unknown
451 4.4.1 reply: read error from nippon-antennaphil.com.
Our server's been running smoothly before but i dunno what happened.
I'm a newbie here so i really don't know what's been causing this.
Thanks in advance!
---------------------------------------
I can send mails to gmail and yahoo as well... but there are like 3 domains which we cannot send mails to.
Last edited by chrlsquincy; 01-22-2010 at 12:25 AM.
Reason: Additional Info
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Your MTA is sending a HELO/EHLO string of localhost.localdomain . That's wrong. You need to configure it to send it's fully-qualified domain name. You should also have an A record in public DNS for that hostname, and the IP it points to should have a PTR record that points back to the A record. Failing any of those steps will result in a lot of sites blocking your mail.
there's no such line in my sendmail.mc
but i added it at the bottom dnl HeloName=mydomain.etc
restarted sendmail
but my mails still get bounced back....
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
I don't believe it will pick it up with dnl in front of it. Copy and paste exactly what I put in the code block, then just change the FQDN to match yours.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660
Rep:
Hmm, here is what's in my sendmail.mc with the line before and after:
Code:
dnl #
O HeloName=pps-01.smtps.net
(the line below it is blank)
Perhaps you need dnl at the end of the previous line? M4 always drives me nuts. I wouldn't use Sendmail except that it's bundled with the product my company sells. I use Postfix on all the e-mail servers I build from scratch.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.