Re: dovecot username with domain

2023-09-23 Thread Tom Hendrikx via dovecot
On 19-09-2023 22:36, Dave McGuire wrote: On 9/19/23 16:34, Michael Grant wrote: Thanks, I was hoping for something less complicated.  I found    auth_username_format %n which drops the domain if supplied.  Unfortunately my imap username isn't 'mgrant'.  Probably i could make this work if there

Re: dovecot username with domain

2023-09-21 Thread Oscar del Rio
On 2023-09-19 3:51 p.m., Michael Grant via dovecot wrote: I've been using dovecot using system usernames (my unix uname as my IMAP username). But today I tried New Outlook which requires the imap username match my email address. I'm not sure about "New Outlook" but other versions of Outlook

Re: dovecot username with domain

2023-09-19 Thread Tom Hendrikx via dovecot
On 19-09-2023 22:36, Dave McGuire wrote: On 9/19/23 16:34, Michael Grant wrote: Thanks, I was hoping for something less complicated.  I found    auth_username_format %n which drops the domain if supplied.  Unfortunately my imap username isn't 'mgrant'.  Probably i could make this work if there

Re: dovecot username with domain

2023-09-19 Thread Dave McGuire
On 9/19/23 16:34, Michael Grant wrote: Heya mgrant, been a long time! Very! Will hit you off-list. :-) If you're using a database for authentication, you can do this sort of translation past using stored functions in MySQL. Queries look something like this: password_query =

Re: dovecot username with domain

2023-09-19 Thread Michael Grant via dovecot
> Heya mgrant, been a long time! Very! Will hit you off-list. > If you're using a database for authentication, you can do this sort of > translation past using stored functions in MySQL. Queries look something > like this: > > password_query = SELECT userid AS username, domain, password

Re: dovecot username with domain

2023-09-19 Thread Dave McGuire
On 9/19/23 15:51, Michael Grant via dovecot wrote: I've been using dovecot using system usernames (my unix uname as my IMAP username). But today I tried New Outlook which requires the imap username match my email address. Is there some way to tell dovecot that username@host is the same as