Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25741 - Evolution 1.4.3 not sending emails
Summary: Evolution 1.4.3 not sending emails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 26685 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-01 20:51 UTC by Joe Brouhard
Modified: 2003-10-28 02:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Brouhard 2003-08-01 20:51:40 UTC
When trying to send emails, I get the following error:

Error while performing operation:
MAIL FROM response error: Syntax error, command unrecognized

Even tried the forums fix located at 

http://forums.gentoo.org/viewtopic.php?t=69219&start=0&postdays=0&postorder=asc&highlight=evolution+problems

Reproducible: Always
Steps to Reproduce:
1. Click "new" in evolution
2. Enter *ANY* email address
3. Click send

Actual Results:  
Popup window saying

Error while performing operation:
MAIL FROM response error: Syntax error, command unrecognized

Expected Results:  
Email should have been sent


donald root # emerge --info
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Celeron(R) CPU 2.00GHz
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode foomaticdb gif jpeg kde gnome
libg++ mad mikmod mmx motif mpeg ncurses nls pdflib png quicktime sdl spell svga
truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline bonobo java guile
mysql X gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt opengl
mozilla ldap"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Mike Gardiner (RETIRED) gentoo-dev 2003-08-02 00:57:06 UTC
what i can deduce from the forum thread is that the problem is consistent over multiple evolution versions, and since i can send mail in both 1.4 and 1.4.3, im betting that it's something external to evolution that's influencing it. CFLAGS perhaps?, or a stale configuration settings (your ~/evolution directory)?

could you try moving ~/evolution away, to ~/evolution.bak for example, and then try evolution again? my only concern is that i'm not sure how much evolution uses gconf to store settings, and how much it uses it's own configuration folder.
Comment 2 Joe Brouhard 2003-08-02 09:28:13 UTC
My CFLAGS are as listed in my emerge --info that I posted.

I'm wondering if you're right.. stale configuration?  I have a *TON* of data i need to keep, though I'm running on Fluxbox for my desktop, not GNOME.  (Got tired of GNOME not letting me use the resolution/space I wanted...)

I'll give it a try by backing up evolution to another directory.. see what happens.

Thanks.
Comment 3 Joe Brouhard 2003-08-02 10:18:23 UTC
I just tried moving ~/evolution to ~/evolution.bak with no success.. same error al together.

I'm beginning to think it's in the way my system here is built.. I've done *THREE* evolution updates since my Gentoo system went live 5 months ago...

I'm beginning to think I got way too many problems on this thing! LOL
Comment 4 foser (RETIRED) gentoo-dev 2003-08-04 09:28:29 UTC
im inclined to think it has something todo with your mail setup, something like problems with your SMTP server. Please make sure it is not a problem on your side.
Comment 5 Joe Brouhard 2003-08-04 09:31:26 UTC
It was working fine prior to the update of Evolution.  These problems gradually came up, and i can send mail just fine via smtp server on another client.
Comment 6 foser (RETIRED) gentoo-dev 2003-08-04 09:47:34 UTC
do you use a non C locale, if not try that. What is the emailaddy you use (since that seems to be the problem ?) .  

Have you tried compiling with no CFLAGS/CXXFLAGS set ? 
Comment 7 Joe Brouhard 2003-08-04 09:55:10 UTC
Both with and without CFLAGS/CXFLAGS.  Locale?  What do you mean by that?

And it errors out on *ANY* email address, including my own.

At this point, I've wasted 4 days trying to resolve this problem, so I've more or less given up.  This is a "development" workstation of sorts, and I've resorted to having to go back to M$ for my workstation purposes.  gah.
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2003-08-09 19:29:38 UTC
seems awfully like these problems from ximian:

http://bugzilla.ximian.com/show_bug.cgi?id=45510

make sure you don't have any comments in /etc/hosts, like :

192.168.0.3 mcvaio # my laptop

glibc's implementation does not like comments on the same line, use this instead:

# my laptop
192.168.0.3 mcvaio

i'm very sure i answered something like this in the forums a while back where someone couldn't via SMTP.
Comment 9 foser (RETIRED) gentoo-dev 2003-08-18 04:26:11 UTC
*** Bug 26685 has been marked as a duplicate of this bug. ***
Comment 10 Michael Marineau 2003-08-18 10:02:16 UTC
The /etc/hosts file is the problem.  I did not have any comments, but rather two hostnames. For a while I had the following entry:

127.0.0.1 localhost SlickBrick

SlickBrick is my hostname, and haveing two hostname listed like this never offered any problem before and seemed to work just fine. (exept for evolution)
I have not changed my hosts file to read:

127.0.0.1 localhost
127.0.0.2 SlickBrick

and everything is fine now.  Thanks for pointing out the hosts file :)

Mike M.
Comment 11 Michael Marineau 2003-08-18 10:07:54 UTC
Opps, nevermind....  The hosts file didn't fix it after all.  Sorry for the confusion.  evolution sill can't send mail via SMTP

Mike M.
Comment 12 Alastair Tse (RETIRED) gentoo-dev 2003-08-28 23:04:06 UTC
have you tried 1.4.4 ? does that improve things?
Comment 13 Joe Brouhard 2003-08-29 15:23:06 UTC
Now that you mention it, no i have not.  Maybe I should try sometime. I'm currently in the process of setting up a 2nd PC to put gentoo on it, since I run most of my stuff from my win32 box (XP pro on it), and am deseparately wanting to get away from Outlook :)
Comment 14 Alastair Tse (RETIRED) gentoo-dev 2003-09-17 10:28:00 UTC
other bugs that look similar are:

http://bugzilla.ximian.com/show_bug.cgi?id=43863
http://bugzilla.ximian.com/show_bug.cgi?id=45271

try their suggestion of running evolution using:

export CAMEL_VERBOSE_DEBUG; evolution-1.4

and then look at the SMTP dumps which begin with "sending:"
Comment 15 Sergi Diaz 2003-10-02 05:25:37 UTC
Are you using postfix as your smtp server?
If so:
I did receive the same error from several mail clients after updating postfix.
I did correct that error setting up the variable 'mynetworks' on file /etc/postfix/main.cf
to the values '192.168.0.0/24, 127.0.0.0/8'. After doing this, I could finally
send mail with my smtp client, and my mail client stopped showing me any
FORM errors anymore.
Good luck!
Comment 16 Sergi Diaz 2003-10-02 05:26:38 UTC
Are you using postfix as your smtp server?
If so:
I did receive the same error from several mail clients after updating postfix.
I did correct that error setting up the variable 'mynetworks' on file /etc/postfix/main.cf
to the values '192.168.0.0/24, 127.0.0.0/8'. After doing this, I could finally
send mail with my smtp client, and my mail client stopped showing me any
FORM errors anymore.
Good luck!
Comment 17 Joe Brouhard 2003-10-02 07:16:12 UTC
I don't think it was my ISP's SMTP server, as I was able to send mail from
just about any other client that I had access to (MS Outlook, outlook Express,
Eudora).

Only EVOLUTION couldn't send email.  I think the ISP I have used Postfix
for a SMTP relay server, but I can't be sure without asking them personally.
 I now have the most recent Ebuild, and am having no problems now.

Musta been a bug issue in that particular evolution :(
Comment 18 Mike Gardiner (RETIRED) gentoo-dev 2003-10-12 23:38:57 UTC
the newest version seems to have fixed the problem for at least one reporter,
is anyone else still experiencing problems after an upgrade here ?
Comment 19 Sergi Diaz 2003-10-16 00:55:43 UTC
evolution-1.4.5 shows the same error while trying to send mail.
I've corrected the error editing file /etc/hosts and deleting all comment
lines after the hosts declaration.
I had a file with this structure:

# /etc/hosts:  This file describes a number of hostname-to-address
#              mappings for the TCP/IP subsystem.  It is mostly
#              used at boot time, when no name servers are running.
#              On small systems, this file can be used instead of a
#              "named" name server.  Just add the names, addresses
#              and any aliases to this file...
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/hosts,v 1.8 2003/08/04
20:12:25 azarah Exp $
#
 
127.0.0.1       localhost
192.168.0.2     craytech.nethide.com

#some
#other
#comments

You only need to delete lines containing comments at the end of the file
(in this case, deleting lines containig #some, #other and #comments.
I did this and now I'm able to send mail.
Comment 20 Joe Brouhard 2003-10-16 08:41:29 UTC
I am currently using the latest 1.4.5 evolution... no problems to report
so far.

Musta been 1.4.3...
Comment 21 Alastair Tse (RETIRED) gentoo-dev 2003-10-28 02:30:33 UTC
well, then closing this bug now since 1.4.5 is now stable.