I don’t have multiple. So in this case, it does not matter. Kai-Uwe Rommel
[email protected]<mailto:[email protected]> Telefon+Mobil: +49 89 32468-120 From: [email protected] <[email protected]> On Behalf Of Odhiambo Washington Sent: Tuesday, December 8, 2020 4:15 PM To: [email protected] Subject: Re: [SOGo] logon via both user ID and email address? What would happen if you had multiple domains? On Tue, 8 Dec 2020 at 00:20, Kai-Uwe Rommel <[email protected]<mailto:[email protected]>> wrote: Hmm, you are right. This is actually (also) the authentication source for the underlying IMAP server (Dovecot). And Dovecot also only allowes the short ID. Following this logic, I extended the password query for Dovecot’s database connection and I am now able to login to Dovecot using either variant. But for SOGo itself this apparently needs more changes, as it still does not work with the e-mail address. Kai-Uwe Rommel [email protected]<mailto:[email protected]> Telefon+Mobil: +49 89 32468-120 From: [email protected]<mailto:[email protected]> <[email protected]<mailto:[email protected]>> On Behalf Of Odhiambo Washington Sent: Monday, December 7, 2020 5:51 PM To: [email protected]<mailto:[email protected]> Subject: Re: [SOGo] logon via both user ID and email address? What does your IMAP server expect between firstname.lastname and [email protected] ? It's the only one to be honored - what your IMAP server expects!. On Mon, 7 Dec 2020 at 16:02, Kai-Uwe Rommel <[email protected]<mailto:[email protected]>> wrote: Hello, I still run a SOGo 2.3 instance … it is using a MySQL database as authentication source: SOGoAuthenticationMethod = SQL; SOGoUserSources = ( { canAuthenticate = YES; id = directory; isAddressBook = YES; type = sql; userPasswordAlgorithm = md5; viewURL = "mysql://xxxxxxx:[email protected]:3306/mail/sogo_auth<http://xxxxxxx:[email protected]:3306/mail/sogo_auth>"; } ); Users currently log in with their user ID which is firstname.lastname but I often see that some try with their e-mail address first (which is [email protected]<mailto:[email protected]>). How can I configure this (if possible) so that both login names are allowed? I did not find something so far. Perhaps I just overlooked something? I’m not a SOGo expert. (I could perhaps modify the sogo_auth view to show each user record twice, once without and once with the @domain.tld suffix?) ARS Computer und Consulting GmbH, www.ars.de ein Unternehmen der TIMETOACT Group Garmischer Straße 7, 80339 München, Deutschland ARS - The Art of Software Engineering Software Engineering, Technologieberatung, IBM Software, IBM Lizenzmanagement Services Handelsregister München, HRB 101829, USt-ID: DE 155 068 909 Geschäftsführer: Joachim Gucker, Stefan Schäffer, Michael Arbesmeier Datenschutzerklärung: https://web.ars.de/datenschutz/ -- [email protected] https://inverse.ca/sogo/lists
