LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 12-20-2003, 06:49 PM   #1
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Evolution: MAIL FROM response error: command unrecognized


This is more of a tip and trick but still a success in order to help others.

But when using Evolution, if you ever come across this error when attempting to send/reply mail:

MAIL FROM response error: command unrecognized

This is due to a problem or bug in glibc which seems to just give us random string chunks from the /etc/hosts file.

To fix the problem, just remove all the lines and even empty lines in your /etc/hosts file.

Cheers.

PS. I only found one other site/mailing list that explained this problem when using Evolution mail, so hopefully this will help anyone in the future looking for solutions when they encounter this problem. And I just can't help myself, when in a GUI I just prefer Evolution over most other mail clients but pine is still the best for console based email..
 
Old 01-15-2004, 11:35 PM   #2
Rastralcaz
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
I have to admit, I didn't think this would work, but I tried it anyway. Much to my surprise, it worked! Bizarre.

Interestingly, I'm using Slackware, and am connecting to Austin, TX's Road-Runner servers too. I wonder if there's something peculiar about that mix?

Thanks for the tip! Saved me a heck of a lot of trouble.
 
Old 01-18-2004, 11:14 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Original Poster
Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by Rastralcaz
I have to admit, I didn't think this would work, but I tried it anyway. Much to my surprise, it worked! Bizarre.

Interestingly, I'm using Slackware, and am connecting to Austin, TX's Road-Runner servers too. I wonder if there's something peculiar about that mix?

Thanks for the tip! Saved me a heck of a lot of trouble.
Yes, very strange error indeed and glad its helped others out as it took me forever to find the solution myself when setting up Evolution in Slackware on one of my machines.

Cheers.
 
Old 01-25-2004, 09:51 PM   #4
jdifool
LQ Newbie
 
Registered: Dec 2003
Location: Paris, France
Distribution: Slackware current
Posts: 19

Rep: Reputation: 1
I've been droning on that problem for almost a week....

Sheeeeesssshhh.....

Thanks.
Really I mean it.

jdif
 
Old 01-28-2004, 09:52 PM   #5
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
holy cow, i just had that error, and thank god for LQ or i never would have figured out how to fix it. what a weird error, is there a bug report filed with the evolution people? (road runner here, too, btw.) thanks trickykid.

update: just wanted to document what i did: moved /etc/hosts to /etc/hosts.sus, launched evolution and sent out a test email, closed evolution, moved /etc/hosts.sus back to /etc/hosts, and evolution has continued working properly since then. cheers.

Last edited by synaptical; 02-07-2004 at 02:46 PM.
 
Old 03-02-2004, 11:19 AM   #6
FXRS
Member
 
Registered: Jun 2003
Posts: 144

Rep: Reputation: 15
I just commented out the 127.0 line and it worked. One question though, don't you need that line? Won't you get a error on restart that your localhost couldn't be found, blah blah

FX
 
Old 03-02-2004, 04:16 PM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Original Poster
Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by FXRS
I just commented out the 127.0 line and it worked. One question though, don't you need that line? Won't you get a error on restart that your localhost couldn't be found, blah blah

FX
Its for loopback only. Why not just remove the crud that isn't even used and taking up space. If you know what the hosts file does.. really no reason to keep the explanation and description of the file in there that is taking up space..
 
Old 03-02-2004, 11:42 PM   #8
FXRS
Member
 
Registered: Jun 2003
Posts: 144

Rep: Reputation: 15
Here is what I meant. I don't think I want to comment out the

"127.0.0.1 localhost.localdomain laptop" line.

Thats the only way I wouldn't get that error.




#
# /etc/hosts: static lookup table for host names
#

#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain laptop

# End of file

FX
 
Old 03-03-2004, 07:09 AM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Original Poster
Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by FXRS
Here is what I meant. I don't think I want to comment out the

"127.0.0.1 localhost.localdomain laptop" line.

Thats the only way I wouldn't get that error.




#
# /etc/hosts: static lookup table for host names
#

#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain laptop

# End of file

FX
Why not just change your localhost line to this instead as you don't need all of that in there:

Code:
127.0.0.1         localhost
 
Old 03-03-2004, 08:08 AM   #10
FXRS
Member
 
Registered: Jun 2003
Posts: 144

Rep: Reputation: 15
Nope I still get the same thing. In order for it to work I have to have that line commented out.

FX
 
Old 03-15-2004, 06:06 AM   #11
dslboy
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware -current
Posts: 157

Rep: Reputation: 30
Ahh thanx m8, you saved my "almost" lost soul!
Been bugging with this problem for almost a week now

And it worked, thanx"!
 
Old 03-25-2004, 12:23 PM   #12
mi6
Member
 
Registered: Jun 2003
Distribution: Fedora 9 64bit, RHEL 4.6
Posts: 96

Rep: Reputation: 15
hmmm....That does allow Evolution to work, but now it generates an error after a reboot. Does anyone know exactly why this allows us to send mail? I would hope somebody sent a bug report to Ximian but I don't see anything on there website.
 
Old 03-25-2004, 12:32 PM   #13
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Original Poster
Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by mi6
hmmm....That does allow Evolution to work, but now it generates an error after a reboot. Does anyone know exactly why this allows us to send mail? I would hope somebody sent a bug report to Ximian but I don't see anything on there website.
Its got to do with something in which glibc I think is in correspondence with Evolution is trying to read the whole hosts file, ignoring the commented # marks in it.

What kind of errors are you getting at boot specifically? The only reason you should get errors at boot by only removing # commented lines in the files is if you accidently removed something you should not have.
 
Old 03-25-2004, 01:14 PM   #14
mi6
Member
 
Registered: Jun 2003
Distribution: Fedora 9 64bit, RHEL 4.6
Posts: 96

Rep: Reputation: 15
you're right, I don't get errors on boot. I actually get them when starting Gnome.

I will post the error, but where does Gnome log errors?
 
Old 03-25-2004, 01:26 PM   #15
mi6
Member
 
Registered: Jun 2003
Distribution: Fedora 9 64bit, RHEL 4.6
Posts: 96

Rep: Reputation: 15
Shucks!

I totally missunderstood the workaround. I was commenting out the entire file (which works fine except when Gnome starts).

But the workaround is to remove all of the comments. And now after re-reading your post it makes for sense to me.

Sorry for the premature post!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error while installing evolution mail amer_58 Linux - Newbie 3 11-02-2005 11:36 AM
Evolution Mail Error adamteeples Linux - Software 0 09-14-2005 11:29 AM
[evolution] error when sending mail xahag Linux - Software 4 04-10-2004 12:18 PM
Evolution 1.4.5 and "RSET response error" J.W. Linux - Software 10 02-08-2004 07:53 PM
Ximian Evolution error fetching mail fletcher Linux - Software 1 08-07-2003 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

All times are GMT -5. The time now is 08:33 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
Open Source Consulting | Domain Registration