After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 679488 - Unable to send mail using SMTP
Unable to send mail using SMTP
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.4.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2012-07-06 03:16 UTC by pedrum
Modified: 2012-08-09 19:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
eds patch (980 bytes, patch)
2012-08-09 11:24 UTC, Milan Crha
committed Details | Review

Description pedrum 2012-07-06 03:16:14 UTC
I had previously been able to send SMTP mail to an Exchange server using Evolution 3.2.2. I backed up and imported my settings into version 3.4.3. I noticed that while IMAP mail fetch worked properly, SMTP mail to Exchange failed even though my client settings were unchanged. I was able to successfully send mail though Thunderbird using SMTP settings with same server.

When I click the 'Check for supported types' in the Sending Email page, they all come back crossed out. When I do same thing with older version of Evolution, at least Login and NTLM come up as available.

Here's the telnet session to Exchange server on port 587.

Escape character is '^]'.
220 a.b.mydomain.com Microsoft ESMTP MAIL Service ready at Thu, 5 Jul 2012 20:13:43 -0700
EHLO
250-a.b.mydomain.com Hello [x.x.x.x]
250-SIZE 31457280
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-STARTTLS
250-AUTH GSSAPI NTLM
250-8BITMIME
250-BINARYMIME
250 CHUNKING
quit
221 2.0.0 Service closing transmission channel
Connection closed by foreign host.
Comment 1 Milan Crha 2012-08-09 11:16:29 UTC
Thanks for a bug report. I guess this line:
    250-a.b.mydomain.com Hello [x.x.x.x]
starts like
    250-auth....b.mydomain.com Hello [x.x.x.x]
when not changed for privacy concerns.

The issue is that after fix for bug #671172 this line was errorneously considered as AUTH response and from it were "read" supported auth types, instead of the AUTH response later in your snap of response. It was indicated in Check for supported auth types with all items being strike out, as you also mentioned above.

-----------------------------------------------------------------------------

Downstream bug report about the same:
https://bugzilla.redhat.com/show_bug.cgi?id=846842
Comment 2 Milan Crha 2012-08-09 11:24:32 UTC
Created attachment 220779 [details] [review]
eds patch

for evolution-data-server;

This fixes the issue, it makes sure there is an expected delimiter between AUTH and the authentication types and it ignores the line, if not.
Comment 3 Milan Crha 2012-08-09 11:27:24 UTC
Created commit ecf2596 in eds master (3.5.90+)
Created commit e5f6232 in eds gnome-3-4 (3.4.4+)
Comment 4 Pedrum Mohageri 2012-08-09 18:40:45 UTC
I can confirm the mail server domain starts with 'auth-smtp.*'

Thanks for the fix.