[evolution] I#925 - Check _submissions._tcp SRV records during account setup



commit 800feebb34a8409aefc0d50965cc001d57729d94
Author: Milan Crha <mcrha redhat com>
Date:   Thu May 21 10:00:52 2020 +0200

    I#925 - Check _submissions._tcp SRV records during account setup
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/925

 src/modules/config-lookup/e-srv-config-lookup.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/src/modules/config-lookup/e-srv-config-lookup.c b/src/modules/config-lookup/e-srv-config-lookup.c
index a290ac6e6f..a6d4e9f754 100644
--- a/src/modules/config-lookup/e-srv-config-lookup.c
+++ b/src/modules/config-lookup/e-srv-config-lookup.c
@@ -25,6 +25,11 @@
 
 #include "e-srv-config-lookup.h"
 
+/*
+ * This implements lookup as specified in RFC 6186 (for mail),
+ * RFC 6764 (for CalDAV/CardDAV), RFC 8341 (for 'sumbissions')
+ */
+
 /* Standard GObject macros */
 #define E_TYPE_SRV_CONFIG_LOOKUP \
        (e_srv_config_lookup_get_type ())
@@ -83,7 +88,8 @@ srv_config_lookup_domain_sync (EConfigLookup *config_lookup,
                { "imap",       E_CONFIG_LOOKUP_RESULT_MAIL_RECEIVE,  "imapx",   N_("IMAP server"),    
N_("Looking up IMAP server…"),    E_CONFIG_LOOKUP_RESULT_PRIORITY_IMAP + PRIORITY_OFFSET / 2 },
                { "pop3s",      E_CONFIG_LOOKUP_RESULT_MAIL_RECEIVE,  "pop",     N_("POP3 server"),    
N_("Looking up POP3 server…"),    E_CONFIG_LOOKUP_RESULT_PRIORITY_POP3 },
                { "pop3",       E_CONFIG_LOOKUP_RESULT_MAIL_RECEIVE,  "pop",     N_("POP3 server"),    
N_("Looking up POP3 server…"),    E_CONFIG_LOOKUP_RESULT_PRIORITY_POP3 + PRIORITY_OFFSET / 2 },
-               { "submission", E_CONFIG_LOOKUP_RESULT_MAIL_SEND,     "smtp",    N_("SMTP server"),    
N_("Looking up SMTP server…"),    E_CONFIG_LOOKUP_RESULT_PRIORITY_SMTP },
+               { "submissions",E_CONFIG_LOOKUP_RESULT_MAIL_SEND,     "smtp",    N_("SMTP server"),    
N_("Looking up SMTP server…"),    E_CONFIG_LOOKUP_RESULT_PRIORITY_SMTP },
+               { "submission", E_CONFIG_LOOKUP_RESULT_MAIL_SEND,     "smtp",    N_("SMTP server"),    
N_("Looking up SMTP server…"),    E_CONFIG_LOOKUP_RESULT_PRIORITY_SMTP + PRIORITY_OFFSET / 2 },
                { "caldavs",    E_CONFIG_LOOKUP_RESULT_COLLECTION,    "caldav",  N_("CalDAV server"),  
N_("Looking up CalDAV server…"),  PRIORITY_DEFAULT },
                { "caldav",     E_CONFIG_LOOKUP_RESULT_COLLECTION,    "caldav",  N_("CalDAV server"),  
N_("Looking up CalDAV server…"),  PRIORITY_DEFAULT + PRIORITY_OFFSET / 2 },
                { "carddavs",   E_CONFIG_LOOKUP_RESULT_COLLECTION,    "carddav", N_("CardDAV server"), 
N_("Looking up CardDAV server…"), PRIORITY_DEFAULT },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]