What would happen if you had multiple domains? On Tue, 8 Dec 2020 at 00:20, Kai-Uwe Rommel <users@sogo.nu> 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 > > kai-uwe.rom...@ars.de > Telefon+Mobil: +49 89 32468-120 > > > *From:* users-requ...@sogo.nu <users-requ...@sogo.nu> *On Behalf Of *Odhiambo > Washington > *Sent:* Monday, December 7, 2020 5:51 PM > *To:* users@sogo.nu > *Subject:* Re: [SOGo] logon via both user ID and email address? > > > > What does your IMAP server expect between firstname.lastname and > firstname.lastn...@domain.tld ? > > It's the only one to be honored - what your IMAP server expects!. > > > > > > > > On Mon, 7 Dec 2020 at 16:02, Kai-Uwe Rommel <users@sogo.nu> 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:xxxxxx@127.0.0.1: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 > firstname.lastn...@domain.tld). 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?) > > > > Kai-Uwe Rommel > > <https://web.ars.de/> > ------------------------------ > *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/ > -- > users@sogo.nu > https://inverse.ca/sogo/lists > -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-) -- users@sogo.nu https://inverse.ca/sogo/lists