Login auth strip domain from username
Hi,
I have just discovered that the IMAP account setup wizard in outlook 2019 assumes that the email address for a user is the same as their username, and there is no easy way to separately enter different user. (It can be done via hidden dialog boxes, command line switches and registry hacking, but it is far from easy [1])
Like many small setups, the dovecot accounts on my mail server map directly to unix accounts on the machine, and the IMAP password for each account is the same as the unix login password.
I have now got outlook sorted and talking to my IMAP server, but seeing as this issue will almost certainly arise again, with out over-simplified MUA software, is there a setting in dovecot that if it is given an email address as a login username it strips off the domain part, and tests the user part against the password supplied?
If you know how to do that for postfix for sending email, then even better!
[1] https://superuser.com/questions/1391960/how-to-enter-username-of-imap-accoun...
-- David Pottage
On 2020-06-13 21:58, David Pottage wrote:
If you know how to do that for postfix for sending email, then even better!
https://doc.dovecot.org/settings/core/#auth-default-realm
have you make this ?
more help show doveconf -n maybe as well postconf -nf
- David Pottage:
is there a setting in dovecot that if it is given an email address as a login username it strips off the domain part [...]
You're probably looking for the 'username_format' configuration parameter.
If you know how to do that for postfix for sending email, then even better!
Assuming you need to configure more than a single MUA, you might find https://gitlab.com/automx/automx2 useful.
-Ralph
Kind of off topic, but go to control panel, mail, accounts and the old familiar version of setting up mail accounts in outlook will be there
Regards,
Stephen Hanselman Datagate Systems, LLC 3107 North Deer Run Road #24 Carson City, Nevada, 89701 (775) 882-5117 office (775) 720-6020 mobile s.hanselman@datagatesystems.com www.datagatesystems.com a Service Disabled, Veteran Owned Small Business DISCLAIMER: This e-mail and any attachments are intended only for use by the addressee(s) named herein and may contain legally privileged and/or proprietary information. If you are not the intended recipient, any dissemination, distribution or copying of this e-mail and any attachments is strictly prohibited. If you have received this e-mail in error, please immediately notify me and permanently delete the original and all copies and printouts of this e-mail and any attachments.
Sent from my iPad
On Jun 13, 2020, at 12:59, David Pottage <david@electric-spoon.com> wrote:
Hi,
I have just discovered that the IMAP account setup wizard in outlook 2019 assumes that the email address for a user is the same as their username, and there is no easy way to separately enter different user. (It can be done via hidden dialog boxes, command line switches and registry hacking, but it is far from easy [1])
Like many small setups, the dovecot accounts on my mail server map directly to unix accounts on the machine, and the IMAP password for each account is the same as the unix login password.
I have now got outlook sorted and talking to my IMAP server, but seeing as this issue will almost certainly arise again, with out over-simplified MUA software, is there a setting in dovecot that if it is given an email address as a login username it strips off the domain part, and tests the user part against the password supplied?
If you know how to do that for postfix for sending email, then even better!
[1] https://superuser.com/questions/1391960/how-to-enter-username-of-imap-accoun...
-- David Pottage
participants (4)
-
Benny Pedersen
-
David Pottage
-
Ralph Seichter
-
Stephen Hanselman