Linux - Server This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-06-2011, 01:23 AM
|
#1
|
Member
Registered: Mar 2010
Location: INDIA (chennai)
Distribution: centos
Posts: 271
Rep:
|
sendmail problem mail could not reach certain domains
Hi all,
We have a application hosted in our server and it uses send mail for sending and receiving mails.
mails can able to reach certain ids but it cant reach some ids. this is the log entry.
Jan 6 00:52:18 p2234270 sendmail[11009]: p046hWi5011897: to=<dinesh@heatstream.com>, ctladdr=<apache@p2234270.pubip.serverbeach.com> (48/48), delay=2+00:08:46, xdelay=00:00:01, mailer=esmtp, pri=4530999, relay=smtp17.msoutlookonline.net. [64.78.22.100], dsn=4.1.8, stat=Deferred: 450 4.1.8 <apache@p2234270.pubip.serverbeach.com>: Sender address rejected: Domain not found
Jan 6 00:52:18 p2234270 sendmail[11009]: p03DiijH000913: to=<dinesh@heatstream.com>, ctladdr=<apache@p2234270.pubip.serverbeach.com> (48/48), delay=2+17:07:34, xdelay=00:00:00, mailer=esmtp, pri=6060704, relay=smtp17.msoutlookonline.net. [64.78.22.100], dsn=4.0.0, stat=Deferred: 421 4.7.0 exmf017-3.msoutlookonline.net Error: too many errors
what could be the problem?
Can any one suggest me how to proceed to resolve this issue.
Thanks in advance,
Dinesh.
|
|
|
01-06-2011, 08:43 AM
|
#2
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,126
|
Quote:
Originally Posted by dinakumar12
Hi all,
We have a application hosted in our server and it uses send mail for sending and receiving mails. mails can able to reach certain ids but it cant reach some ids. this is the log entry.
Jan 6 00:52:18 p2234270 sendmail[11009]: p046hWi5011897: to=<dinesh@heatstream.com>, ctladdr=<apache@p2234270.pubip.serverbeach.com> (48/48), delay=2+00:08:46, xdelay=00:00:01, mailer=esmtp, pri=4530999, relay=smtp17.msoutlookonline.net. [64.78.22.100], dsn=4.1.8, stat=Deferred: 450 4.1.8 <apache@p2234270.pubip.serverbeach.com>:Sender address rejected: Domain not found
Jan 6 00:52:18 p2234270 sendmail[11009]: p03DiijH000913: to=<dinesh@heatstream.com>, ctladdr=<apache@p2234270.pubip.serverbeach.com> (48/48), delay=2+17:07:34, xdelay=00:00:00, mailer=esmtp, pri=6060704, relay=smtp17.msoutlookonline.net. [64.78.22.100], dsn=4.0.0, stat=Deferred: 421 4.7.0 exmf017-3.msoutlookonline.net Error: too many errors
what could be the problem?
Can any one suggest me how to proceed to resolve this issue.
|
Did you read what you posted? The problem is clearly marked:
Quote:
Originally Posted by dinakumar12
<apache@p2234270.pubip.serverbeach.com>:Sender address rejected: Domain not found
|
The domain you're trying to send to isn't found. So either someone entered the wrong address/domain, or the domain has gone offline. Unless you own that domain, there's nothing you can do, other than don't send emails to them. The domain www.msoutlookonline.net responds, but not what you've got in your logs...did you try to even hit that domain with a web browser, or do a lookup on it?
|
|
1 members found this post helpful.
|
04-14-2011, 06:22 AM
|
#3
|
Member
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 127
Rep:
|
Sendmail problem...
You are fighting exactly the same thing I am facing. The mail server you connect to, in this case smtp17.msoutlookonline.net tries to lookup the senders domain, p2234270.pubip.serverbeach.com and it doesn't find it. So, either you have to make an A record in you DNS server for that server or find a way to masquerade the senders address. I've been trying to find a way to masquerade the ctladdr but with no luck so far. But I'll keep on looking.
|
|
1 members found this post helpful.
|
04-15-2011, 01:42 AM
|
#4
|
Member
Registered: Mar 2010
Location: INDIA (chennai)
Distribution: centos
Posts: 271
Original Poster
Rep:
|
Hi OdinnBurkni,
Thanks I am also trying.
|
|
|
04-15-2011, 05:08 AM
|
#5
|
Senior Member
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125
|
In order to help combat SPAM, certain behavior and criteria or generally expected out of mail servers. Legitimate mail servers need to operate from a domain with a static IP that is also not classified as being part of a residential network. These servers must have valid DNS entries and should have reverse lookups that map back to the originating domain. In addition there are more recent tools such as SPF records and domain keys, which are also used to validate that the originating host is in fact a legitimately declared mail server.
By similar token, organizations can declare which hosts are the public facing mail handlers for their domain. In this particular case, msoutlookonline.net, declares that smtp.msoutlookonline.net. is their designated mail handler, not smtp17, which is undoubtedly an internal handler for their system.
Attempting to send mail to invalid domains, failure to use proper DNS techniques to identify your originating domains, etc will get you blacklisted and shut down faster than you can blink, and rightfully so. This is also why most major recipient domains will, by default, treat you as a spammer and automatically black list your servers until you prove to them otherwise. Trying to masquerade and obfuscate the IP addresses in question makes you look like you are up to no good. Mail handling requires two may communication between hosts. This makes IP address spoofing nearly impossible and this is by design.
|
|
1 members found this post helpful.
|
06-05-2012, 09:54 AM
|
#6
|
Member
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 127
Rep:
|
Thank you for a good answer dinakumar12. What I was trying to do was get the sender to be something else then localhost@localhost.
I'm still working on this but not crazy though. I understand what you are saying, it makes sense and is of course necessary.
|
|
|
06-05-2012, 10:27 AM
|
#7
|
Senior Member
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125
|
@OdinnBurkni, please note that this thread is over a year old. If you wish to resume this discussion please create a new thread and post a link to this one for reference instead of continuing an old post as they get confusing and discombobulated.
|
|
|
06-05-2012, 10:56 AM
|
#8
|
Member
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 127
Rep:
|
Will do. And the thanks was meant for you Noway2, I got lost between lines...
|
|
|
All times are GMT -5. The time now is 01:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|