LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-06-2011, 01:23 AM   #1
dinakumar12
Member
 
Registered: Mar 2010
Location: INDIA (chennai)
Distribution: centos
Posts: 271
Blog Entries: 7

Rep: Reputation: 18
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.
 
Old 01-06-2011, 08:43 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,126

Rep: Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044Reputation: 8044
Quote:
Originally Posted by dinakumar12 View Post
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.
Old 04-14-2011, 06:22 AM   #3
OdinnBurkni
Member
 
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 127

Rep: Reputation: 20
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.
Old 04-15-2011, 01:42 AM   #4
dinakumar12
Member
 
Registered: Mar 2010
Location: INDIA (chennai)
Distribution: centos
Posts: 271

Original Poster
Blog Entries: 7

Rep: Reputation: 18
Hi OdinnBurkni,

Thanks I am also trying.
 
Old 04-15-2011, 05:08 AM   #5
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
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.
Old 06-05-2012, 09:54 AM   #6
OdinnBurkni
Member
 
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 127

Rep: Reputation: 20
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.
 
Old 06-05-2012, 10:27 AM   #7
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
@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.
 
Old 06-05-2012, 10:56 AM   #8
OdinnBurkni
Member
 
Registered: Feb 2007
Location: Iceland
Distribution: Fedora 14, CentOS, FreeNAS
Posts: 127

Rep: Reputation: 20
Will do. And the thanks was meant for you Noway2, I got lost between lines...
 
  


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
Sendmail to emulate several mail domains on one server eolsen Linux - Server 1 10-03-2008 07:35 PM
sendmail - how to send mail from multiple domains? neocontrol Linux - Server 1 05-14-2007 02:18 AM
sendmail , the /etc/mail/relay-domains File kernelvn Linux - Networking 4 05-04-2005 12:25 PM
Sendmail: How can I avoid some users send mail to outside domains? lordphantom82 Linux - Software 0 11-16-2004 07:23 PM
sendmail not sending mail to 2 existing domains dv3dv3 Linux - Software 0 07-02-2003 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:46 AM.

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