GNOME Bugzilla – Bug 675725
SMTP configuration window forgets custom port
Last modified: 2012-05-11 11:48:45 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
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.
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.
The patch does indeed fix it. Thanks!
Created commit 25a9b4b in evo master (3.5.2+) Created commit 3b43242 in evo gnome-3-4 (3.4.2+)