LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-03-2010, 06:29 AM   #1
skc
LQ Newbie
 
Registered: Jan 2010
Posts: 20

Rep: Reputation: 0
mail loops back to me (MX problem?) OR did not issue MAIL/EXPN/VRFY/ETRN


Hi all,

If you are receiving "mail loops back to me (MX problem?) Local configuration error" (in client side) or "did not issue MAIL/EXPN/VRFY/ETRN during connection to ..." (server side /var/log/maillog) message while sending email to another email address?

I have found that this is usually causes from the hostname of mail server is set to "localhost.localdomain"

I hope this will work.
 
Old 08-03-2010, 10:02 AM   #2
fast-reflexes
Member
 
Registered: Jul 2010
Distribution: Slackware
Posts: 36

Rep: Reputation: 16
Quote:
Originally Posted by skc View Post

did not issue MAIL/EXPN/VRFY/ETRN during connection to ..."
This can mean that the client did not issue any commands. If you login to your smtp server using
Code:
telnet localhost smtp
and then just type quit, then the log will show a message like that.

These types of errors usually occur for me when the client is not correctly configured to deal with the server... can't come up with a good example right now though...
 
Old 08-04-2010, 03:06 AM   #3
skc
LQ Newbie
 
Registered: Jan 2010
Posts: 20

Original Poster
Rep: Reputation: 0
The error arises when your server's hostname is set to "localhost" or "localhost.localdomain". Just change the hostname of your email server and check. I think it will work.
 
Old 07-08-2011, 07:56 PM   #4
alteci
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
Still getting the error...

Quote:
Originally Posted by skc View Post
The error arises when your server's hostname is set to "localhost" or "localhost.localdomain". Just change the hostname of your email server and check. I think it will work.
Any other ideas? My hostname is set correctly (checked in config file and running "hostname", to make sure it hadn't been changed)....but I'm still getting this error.

Thanks,

John
 
Old 07-08-2011, 11:16 PM   #5
pafoo
Member
 
Registered: Jul 2011
Location: Alabama
Distribution: Red Hat/Ubuntu/Solaris
Posts: 35

Rep: Reputation: 11
check your /etc/mail/sendmail.cf and see how the default mail is set to
verify your /etc/aliases

then lookup your mail server and verify those are correct

Code:
nslookup
set type=mx
$domainname
 
Old 07-09-2011, 02:06 AM   #6
alteci
LQ Newbie
 
Registered: Jul 2011
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by pafoo View Post
check your /etc/mail/sendmail.cf and see how the default mail is set to
verify your /etc/aliases

then lookup your mail server and verify those are correct

Code:
nslookup
set type=mx
$domainname
When I enter $domainname, I get the following error: *** Can't find $domainname: No answer

When I enter my servers domain name instead, I get the same mail exchanger as I do when I enter "host domainname", which is "mail.domainname.com".

*Domainname.com is replaced with the real domain.
 
Old 07-09-2011, 10:18 PM   #7
pafoo
Member
 
Registered: Jul 2011
Location: Alabama
Distribution: Red Hat/Ubuntu/Solaris
Posts: 35

Rep: Reputation: 11
Sorry I didn't specify, it was supposed to be your domain. Did it pull
Up the right mail server?
 
  


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: did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA tonj Linux - Server 3 02-17-2010 11:56 AM
"did not issue MAIL/EXPN/VRFY/ETRN during connection to Daemon0" lemuelp Linux - Newbie 1 11-17-2009 07:37 AM
Sendmail did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-SSL DragonM15 Linux - Server 2 09-24-2008 01:29 AM
Sendmail did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA paleogryph Linux - Software 3 08-31-2007 05:28 AM
Sendmail: did not issue MAIL/EXPN/VRFY/ETRN nenad Fedora 1 03-31-2005 02:12 PM


All times are GMT -5. The time now is 08:39 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration