Apple Mail asks for password on SMTP after 1.4.3 upgrade

  • Hey @Nuxwin


    Logging in on Apple Mail with normal password auth over TLS (587), it asks for a password when sending an email. IMAP works fine, SMTP asks for password.


    Important note (also for other mac users)


    Yosemite & ElCapitan Mail.app have the new "Automatically detect and maint account settings" option. This will cause Mail.app to attempt Digest-MD5, and thats when you might see dovecot crashing.

    So we cannot use this feature, I manually set port to 587, selected TLS and normal password auth (because of this).


    Server info
    1.4.3 on Debian Jessie, Postfix/Dovecot.
    Error when password is requested: "Apr 24 10:11:04 jessie postfix/smtpd[25151]: warning: revdns[ip]: SASL LOGIN authentication failed: code"


    This may or may not be related to the known issue about the unknown namespace trash, which is resolved already.

  • @theemstra


    There is no bug. I'm using Icedove (Thunderbird) under Debian which also provides discovering feature for mail account parameters. In my case all went good. Discovered parameters are those expected: For instance with the [email protected] account, I get:



    There is only the identifier to adjust which must be the full email address and also the IMAP and SMTP server names in case the names don't matche with your server hostname and only if those names are not also added in the SSL certificate (subject alternative names)...


    When using discovering feature, many login attempt are made on both SMTP and IMAP servers, resulting to many failure logs. For instance, logs from my discovering session are:

    These are expected.


    Note that if your client was previously configured to use non-plaintext auth, that is normal that you get asked again for password.
    Here there is no bug on our side.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hi @Nuxwin,


    Thanks for checking out this situation.
    I visited the client just now and configured the account in Outlook for Mac, this way it worked just fine.
    Just Apple Mail seems to be complaining. Maybe Apple Mail doesn't support the plaintext or normal password tls/ssl login?

  • Just Apple Mail seems to be complaining. Maybe Apple Mail doesn't support the plaintext or normal password tls/ssl login?

    That would be really curious and this would make their application not compatible with several mail services... They should have a support forum or something like this. Just ask them. Normally, a mail client shouldn't try to use an authentication method that is not provided by the server (IMAP or SMTP, whatever). IMAP and SMTP servers clearly announce the supported authentication mechanisms. For instance:


    IMAP server (here Dovecot)

    Shell-Script
    1. root@dev:~# telnet localhost 143Trying 127.0.0.1...Connected to dev.nuxwin.com.local.Escape character is '^]'.* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.

    Here you can see that supported authentication mechanisms are PLAIN and LOGIN (both are same, that is: plain password). LOGIN is there to ensure compatibility with older mail clients (microsoft).


    SMTP (here postfix)

    Same thing here, supported authentication mechanisms are clearly announced

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hello @theemstra


    Should be supported!! Apple has a few entrys in their KB regarding their authentification!


    Best regards

    Support Infos: I-MSCP Version: 1.5.x / Distro: Debian Stretch / PHP: 7.1.27 - FPM / I-MSCP Plugins: Let´s Encrypt + PHPSwitcher (latest Versions)

  • @theemstra


    I've edited my previous answer.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Should be supported!! Apple has a few entrys in their KB regarding their authentification!

    Could you provide us with a link to those KB?


    @theemstra


    Apple mail is an iphone APP? If yes, I could give a try with my really old iphone (first serie)...

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206