Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-19-2012, 09:59 AM   #1
LQ Newbie
Registered: Aug 2012
Posts: 2

Rep: Reputation: Disabled
Sendmail takes a pause after Mail From command for a unresolvable sender.

Hi ,

I have a strange situation here. I have sendmail on linux. I am using
The Feature(accept unresolved domains) in .mc file.
But when an email is sent from an unresolved domain , sendmail takes a long pause to give 250 OK command after the Mail From command.

Please tell me why this is happening.

Thanks in advance.
Old 08-20-2012, 09:29 PM   #2
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
to know if the domain is unresolvable, sendmail has to try to resolve it, but DNS responds with some delay; how long does it take for you?
Old 08-27-2012, 02:00 AM   #3
LQ Newbie
Registered: Aug 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thank you for the reply.

Its taking a pause long enough that the other server is forced to timedout before 250 OK is sent. may be 30 secs or more.
And strange thing is when i executed dig axfr domainname @dns server on the server itself it is no longer giving a pause. Has it been cached ?
If yes then why it did not use the cache second time when we tried to send the email, we did wait for the 250OK command from the server so it should have resolved for the next tries.

And i tried with some FQDN's which does not exist but sendmail did not take a pause for these. :-(


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 accept all domains even if they are unresolvable sneakz Linux - Server 3 04-19-2011 07:47 PM
Sendmail (mailserver) -- sending mail with the mail command -- doesn't work :-( carolinevdh Linux - Server 1 08-13-2009 09:43 PM
Option to specify Sender's Address in Mail command crazy_girl Linux - Newbie 2 08-20-2007 10:36 AM
Sendmail - wrong mail sender domain display jika Linux - Newbie 1 05-27-2005 02:29 AM
Help with Sendmail filters for outgoing mail by sender/recipient gljoe Linux - Software 18 08-12-2003 08:56 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:56 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration