Outlook with Dovecot
dovecot-2.3.11.3_1
Hi group, I have a problem with connecting Outlook 2019 client to my server (BSD 21.2). Running Postfix and Dovecot.
[all.log]
Dec 12 16:53:41 poseidon dovecot[36185]: imap-login: Disconnected (auth failed, 1 attempts in 2 secs): user=elise@xxxxx.xx, method=PLAIN, rip=82.x.x.x.x, lip=10.x.x.x, TLS: Connection closed, session=<U62faUa24N5SsH9H>
Providing the correct email address and password.
Strang thing is that with Thunderbird it all works fine; only Outlook is refused.
tx, Elise
[dovecot.conf]
auth_mechanisms = plain login disable_plaintext_auth = no mail_location = mbox:/usr/home/%u:INBOX=/var/mail/%u mail_privileged_group = mail passdb { driver = pam }
protocols = imap
service auth { unix_listener auth-client { group = mail mode = 0660 user = postfix } unix_listener auth-master { mode = 0666 } user = root }
service imap-login { inet_listener imap { address = 10.x.x.x } inet_listener imaps { address = 10.x.x.x } }
#service pop3-login { # inet_listener pop3 { # address = 10.x.x.x # } # inet_listener pop3s { # address = 10.x.x.x # } #}
ssl = yes ssl_ca =
userdb { driver = passwd }
protocol imap { imap_client_workarounds = "delay-newmail tb-extra-mailbox-sep " }
#protocol pop3 { # pop3_client_workarounds = outlook-no-nuls oe-ns-eoh # pop3_uidl_format = %08Xu%08Xv #}
protocol lda { postmaster_address = postmaster@xxxxx.xxxx sendmail_path = /usr/sbin/sendmail mail_plugins = sieve }
On 12 Dec 2020, at 09:20, Elise dovecot_ml@cloudzeeland.nl wrote:
dovecot-2.3.11.3_1
Hi group, I have a problem with connecting Outlook 2019 client to my server (BSD 21.2).
Are you sure it is Outlook 2019 and not 2010 2013 or 2016?
(Since other clients can connect via TLS, this is going to be an Outlook problem).
-- I took a deep breath and listened to the old brag of my heart.
I am, I am, I am.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Hi,
On Sat, 2020-12-12 at 17:20 +0100, Elise wrote:
dovecot-2.3.11.3_1
Hi group, I have a problem with connecting Outlook 2019 client to my server (BSD 21.2). Running Postfix and Dovecot.
Strang thing is that with Thunderbird it all works fine; only Outlook is refused.
In the past I have had problems supporting Outlook on a Dovecot server. The problems were never Dovecot related. They were mostly Outlook not dealing properly with IMAP connections, and refusing to refresh the folder/conents lists. Be aware that simply closing Outlook may not be enough, you may have to open the task manager and kill some background stuff it leaves running.
I have migrated most of my clients using Outlook over to "eM Client", it has superior handling for IMAP and integrates with caldav/cardav servers perfectly. In the end it was a better solution than Outlook, for the small handful of Windows users I have to support (most of whom use Thunderbird anyway).
Nikolai Lusan nikolai@lusan.id.au -----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEVfd4GW6z4nsBxdLo4ZaDRV2VL6QFAl/VAZIACgkQ4ZaDRV2V L6Qymg//VHtCGYO7gJSATn6IzXbFUBwAKKEfj5DUgEBtQ6E5+XSgoDb5XC+X9Osf bBxvOY7F6Z6guwy2taGiA2FzHq0iS6+ij5sTiEk3oRVQ9fHd9s8e0BZsdQC8MJZG CEk7VYccNYYfL0374XlUnP0WpmCz1RtuQuQsLgWZITVZEsLWpY1lls7OETo6YzTP xD4FwkkzxFCY7UoyAshwwU/O7UpHX4tlxwLlqFCK9pRIit4mwtUN6QC5OzKz6DG4 1QCG8Xvc1jFW24E4av7mJQAHEf0BHA9kwgR1Hj3CTR/cldFFrzzKYjiXDMUP5wFj LtHFBsFCqBlMi9fxlTwUw+f6H41I1//kEuFEgSboQgjOgVCjwhQb9viHjlydjfMU GqAlhp3UIM1vOxnYQs8xr6fGtHfRLPQ3+wQBYmUlnPqQCgeWHESHkWfF5eYdS0M1 oosgA2G533Ioyo9hh+EaDhILithm0U7Ktb0UyxW3UBbc/9ZvSxqgjsuIzcr6+Sag 9BpMfDjAHvfb82isQUUYKQZCyShoPjTXI0ZIaKxxXKhWTUVPaI3CTbacm26nOuJG Bw2itaFk+WhgUPjWSmxH10SThDb2jzLneMB/TNNEFZqyzupcjwQkJa/VdWi8XUUL ODSjpbYnnUQVyNb7hfier/IUk78nJlKRPJbqppBsvq/nuWzN2J0= =Ed4A -----END PGP SIGNATURE-----
Op 12-12-20 om 17:20 schreef Elise:
dovecot-2.3.11.3_1 Providing the correct email address and password.
I think the origin of this issue is caused by Outlook itself. Setting up a new account in Outlook, one has to provide an email address instead of a user name. With using BSD usermanager, adding a user named 'ilse@mydomain.com' is converted automatically to user 'ilse'.
I am not expecting that Microsoft will solve this issue on short term though. Will stick with Thunderbird (as I already planned) but how nice it would be to make Outlook my backup mail client with IMAP/Dovecot/Postfix...
Best, E.
Hi Elise,
dovecot-2.3.11.3_1 Providing the correct email address and password.
I think the origin of this issue is caused by Outlook itself. Setting up a new account in Outlook, one has to provide an email address instead of a user name. With using BSD usermanager, adding a user named 'ilse@mydomain.com' is converted automatically to user 'ilse'.
I am not sure I understand your problem. Who exactly is converting the username? Is it Outlook or dovecot or your BSD usermanager?
I am aware of a problem where Outlook tries to guess the username from the provided e-mail address and its AS aka artificial stupidity guesses wrong.
cheers, Michael
Op 13-12-20 om 19:14 schreef Michael Schumacher:
I am not sure I understand your problem. Who exactly is converting the username? Is it Outlook or dovecot or your BSD usermanager? I am aware of a problem where Outlook tries to guess the username from the provided e-mail address and its AS aka artificial stupidity guesses wrong.
Adding an account in Outlook (2019 in my case) one must provide an email adddress. Example: elise@cloudzeeland.nl So that would be the username (and not simply elise). Dovecot does not understand that and respose with a 'non existing user' kinda of message.
Do agree that MS should be less arragand on this; perhaps a member of MS reads this topic and is willing to help me/us out with this. Imho not only should a webbrowser be cross compatible; a mailclient also should respect global IMAP rules' configuration.
/E.
Hallo Elise,
Wednesday, December 16, 2020, 8:49:54 PM, you wrote
Adding an account in Outlook (2019 in my case) one must provide an email adddress. Example: elise@cloudzeeland.nl So that would be the username (and not simply elise). Dovecot does not understand that and respose with a 'non existing user' kinda of message.
Do agree that MS should be less arragand on this; perhaps a member of MS reads this topic and is willing to help me/us out with this. Imho not only should a webbrowser be cross compatible; a mailclient also should respect global IMAP rules' configuration.
check Christian Schmidts proposal. At the start menu type "Control Panel" and in the opening control panel search for "mail". You will get a new window where you can set e-mail addresses and usernames independently. In your example, the username elise would be possible.
I hope this helps.
Michael
Elise, 13.12.20:
I think the origin of this issue is caused by Outlook itself. Setting up a new account in Outlook, one has to provide an email address instead of a user name. With using BSD usermanager, adding a user named 'ilse@mydomain.com' is converted automatically to user 'ilse'.
I am not expecting that Microsoft will solve this issue on short term though.
Good old "Control Panel" -> "Mail" offers some more detailed configuration options. Just use this way to set up mail accounts instead of doing it with Outlook.
Mit freundlichen Grüßen / Kind Regards Christian Schmidt
-- Signature not available.
Op 15-12-20 om 22:01 schreef Christian Schmidt:
Good old "Control Panel" -> "Mail" offers some more detailed configuration options. Just use this way to set up mail accounts instead of doing it with Outlook.
Always thought that Mail is another MS mailclient, not an Outlook client? Let me check ok?
/E.
Op 16-12-20 om 20:55 schreef Elise:
Op 15-12-20 om 22:01 schreef Christian Schmidt:
Good old "Control Panel" -> "Mail" offers some more detailed configuration options. Just use this way to set up mail accounts instead of doing it with Outlook.
Happy, that did the trick! Feel kinda stupid as I really thought Mail was a MS mailclient as Outlook is.
./E
On Sun, 13 Dec 2020 at 18:22, Elise dovecot_ml@cloudzeeland.nl wrote:
Op 12-12-20 om 17:20 schreef Elise:
dovecot-2.3.11.3_1 Providing the correct email address and password.
I think the origin of this issue is caused by Outlook itself. Setting up a new account in Outlook, one has to provide an email address instead of a user name. With using BSD usermanager, adding a user named 'ilse@mydomain.com' is converted automatically to user 'ilse'.
I am not expecting that Microsoft will solve this issue on short term though. Will stick with Thunderbird (as I already planned) but how nice it would be to make Outlook my backup mail client with IMAP/Dovecot/Postfix...
Best, E.
Elise, your problem is simple. And yes, I am a *BSD diehard for donkey years. You want to setup a system that handles virtual users. The BSD usermanager creates system accounts (/etc/passwd) and those cannot be made to be user@domain by default, although Dovecot authenticating system users and concatenating the domain is possible. So what you need to focus on is whether you want to authenticate system users or virtual users. Read Postfix docs about this. For Dovecot, it is easy. Just look at the passdb and userdb configs and Dovecot will do whatever you decide from the above choices. It can actually do both - and many! I have a system where dovecot authenticates system accounts and vurtual accounts (MySQL and SambaAD) . I am an Exim user though.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)
participants (7)
-
@lbutlr
-
Christian Schmidt
-
Elise
-
jerry@seibercom.net
-
Michael Schumacher
-
Nikolai Lusan
-
Odhiambo Washington