Some time back, I was teetering on the brink…. I’ve used Evolution as my linux mail client for ages (since I switched), because it had the calender integrated etc… However, Kontact has REALLY looked nice for some time, but I didn’t have time to mess with changing. Then one day, I was trying to send a message with Evolution and got a pop up box saying…….. “error while performing operation”, and “MAIL FROM command failed: Unknown” huh???
Since I have an inhouse mailserver that things relay through, my first thought was that something had gone astray there….. I tested with telnet. Everything looked ok. Then I got online and looked. (Apparently this is a problem that’s been seen before, but no clear answers…) hmmm… I tested another mailer (Kontact) – it worked. So around Christmas I switched /migrated everything rather than solve the problem. I wasn’t happy with that, but at the time I really didn’t want to fool with problem solving. I left it for another day.
My wife’s profile on my desktop has used Evolution for mail since then. Surprisingly it has worked all along (I remember thinking at the time that I might have to blow away my .evolution directory to solve it because of this.) Until night before last. She attempted to send an email and got the same message. So, I used Kontact to send the message and resolved to take a closer look. Let me try to be clear. Evolution is set to send mail through SMTP. Sendmail IS installed on the system, but evolution doesn’t make use of it.
In my searching today, I found a reference to removing unnecessary comments/tabs from the /etc/hosts file. I thought this might be worth a try, so I took a look at my hosts file….
127.0.0.1 mybox.mynetwork.net mybox localhost
220.127.116.11 www.grove-ent.com grove-ent.com
192.168.0.20 server server.mynetwork.net
all of the 5. addresses are hamachi addresses for various machines, the grove-ent.com address it seems as though I was once having page not found errors and had done a dns lookup while they were having some weirdness. 192.168.0.200 is the lan address of the desktop machine “mybox”. Now, what’s interesting to me is that the evolution configuration was using the ip address 192.168.0.20 for the server to connect to instead of server or server.mynetwork.net so, in theory it shouldn’t have to reference hosts?
However, here’s what I changed (all the rest stayed the same)….
192.168.0.200 mybox mybox.mynetwork.net
I don’t know if having a different alias for the loopback address was the real headache, or the fact that I had an address in the list that didn’t have a host name associated with it.
After the change and save, I sent my test message once more and the error message didn’t re-appear, everything sent correctly. Hopefully if you’ve run into a similar problem, this will help. Frankly, my view of it is that it is an evolution bug in the handling of the hosts file (although my hosts file was probably not standard.) I say this because other mail applications have not had the same problem with the previous configuration.
It would be nice too if “error while performing operation”, and “MAIL FROM command failed: Unknown” were a bit more descriptive – hostname not found, host lookup failure or some such would be a big improvement.
Related PostsRelated Posts
- Moving from Evolution to Konqueror After several weeks of good behaviour from Evolution 2.4 since the Mandriva 2006 upgrade, I started getting a wierd error on sending messages *(Mail From response Error Unknown). Nothing within my settings for Evolution had changed since the night before when things worked... I tested with Kontact and was able......
- Network Security - Arp spoofing So.... what is arp spoofing (poisoning).... and what are it's implications? ARP spoofing involves tricking a machine into thinking that you're machine is, yet another. Let's put this in IP address terms. Let's say that 192.168.0.1 is the default gatway on the network and 192.168.0.150 is our target. We are......
- Network security - how safe is your network? Looking at ARP A while back I did a network security series and one of the points that I mentioned was that it's important to know what is normal for your network. In other words, what machines are NORMALLY connected, what services are normally running, etc. Well, I'm about to start a serious......
- Give Whole Life Insurance a Fair Comparison – Get Illustrations and Compare! I hope this post doesnâ€™t end up on one of my favorite blogs, Bad Money Advice, but I wanted to actually compare some numbers for people.Â Everyone, and I mean everyone tells you to stay the hell away from Whole Life Insurance, I think the main concerns are fees,......
- How to Migrate a WP Installation from One Server to Another via Cpanel How to Migrate a WP Installation from One Server to Another via Cpanel. This post would serve as an announcement as well as a "How To". I recently moved from one hosting service to another to consolidate a part of my domains in 1 of my hosting servers and to......
- Using JSP As A Host Server JSP Hosting Basics JSP Hosting can be a Java hosting program that has several similarities to Microsoft ASP. JSP hosting refers to the capability to run and manage Java Server Pages. Despite the fact that Java Server Pages (JSP) is very comparable to Microsoft's Active Server Pages (ASP) JSP does......
- Evolution error “summary and folder mismatch even after a sync”
- Moving from Evolution to Konqueror
- Migrating Contacts from Evolution to Kontact
- Kontact/ korganizer “unable to save event”
- How do I email lots of people without all their addresses showing up?