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 675725 - SMTP configuration window forgets custom port
SMTP configuration window forgets custom port
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
3.4.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2012-05-09 08:19 UTC by Ulrich Keller
Modified: 2012-05-11 11:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
evo patch (1.08 KB, patch)
2012-05-11 10:34 UTC, Milan Crha
committed Details | Review

Description Ulrich Keller 2012-05-09 08:19:34 UTC
I have to connect to an SMTP server that uses TLS encryption on port 465. For some reason, this is impossible to configure using the account editor.


Steps to reproduce:

Set up an account. In account editor, under "Sending Email", select SMTP with TLS encryption and set the port to 465. Click the "Apply" button.

In the Preferences window, select the account and click Edit. Select the "Sending Email" tab. The port is 25 again instead of 465.


It seems that Evolution now reserves port 465 for SSL connections. If I select any port other than 465 for TLS connections, it is remembered, only 465 is forgotten.

The problem appeared after the upgrade to Gnome 3.4.1 (from 3.3.something).

I tried changing ~/.gconf/apps/evolution/mail/%gconf.xml manually, but every time I start Evolution, the port is changed back to 25.


Arch Linux AMD64,
evolution 3.4.1
evolution-data-server 3.4.1
Comment 1 Milan Crha 2012-05-11 10:24:01 UTC
Thanks for a bug report. I can partly confirm it. It's partly because the port 465 for TLS SMTP is properly saved for me, as after Apply click I see the SMTP server with 465 port when I check for it with this command:
   $ gconftool-2 --get /apps/evolution/mail/accounts | grep 465
only when I open account editor again the editor resets port to TLS, not to the stored port.
Comment 2 Milan Crha 2012-05-11 10:34:45 UTC
Created attachment 213857 [details] [review]
evo patch

for evolution;

This fixes it. Dealing with other property bindings the port had been reset, thus restoring it after all bindings are done makes the trick.
Comment 3 Ulrich Keller 2012-05-11 11:37:58 UTC
The patch does indeed fix it. Thanks!
Comment 4 Milan Crha 2012-05-11 11:48:45 UTC
Created commit 25a9b4b in evo master (3.5.2+)
Created commit 3b43242 in evo gnome-3-4 (3.4.2+)