How to manage mail autodiscover in Plesk Obsidian?

Follow

Comments

64 comments

  • Avatar
    Lenor

    Apple Mail autodiscover not working. 

    What can i do?

    0
    Comment actions Permalink
  • Avatar
    DerDanilo (Edited )

    Since Plesk seems to configure the root domain as default for autodiscover we have to change it (for now) in the Panel.ini.

    Even though "mail.<domain>" is included in DNS Plesk does not include this subdomain in the certificate that is then beeing used for the mailserver. (Posted in the forum about this: https://talk.plesk.com/threads/lets-encrypt-and-assign-the-certificate-to-mail-domain-problems-and-autodiscovery-issues-caused-by-this.360307/)

    But "webmail.<domain>" is included in the certificate if enabled and therefore can be used as server address. This is anyways easier for most customers to remember. They can just use the same server name for webmail and mail clients. But again this doesn't seem reliable.

    The "fun" fact here is that Plesk doesn't seem to provide the customers certificate when the customer enters webmail.<domain> as mailserver address. So where is the problem here? The certificate was selected to be used for the mailserver but doesn't work on some servers. (Weird)

    So what to do?

    Add the following lines to the Panel.ini file.

    [mail]
    clientConfig.incomingServer="webmail.<domain>"
    clientConfig.outgoingServer="webmail.<domain>"
    clientConfig.incomingProtocols="IMAP over SSL/TLS, POP3 over SSL/TLS"
    clientConfig.outgoingProtocols="SMTP over SSL/TLS"

     

    Also we did customize the DNS records somewhat to make this work:

    _imaps._tcp.example.com. SRV webmail.example.com.
    Weight: 1
    Prio: 0
    Port: 993

    _imap._tcp.example.com. SRV webmail.example.com.
    Weight: 1
    Prio: 10
    Port: 143

    _pop3s._tcp.example.com. SRV webmail.example.com.
    Weight: 1
    Prio: 20
    Port: 995

    _smtps._tcp.example.com. SRV webmail.example.com.
    Weight: 1
    Prio: 0
    Port: 465

    0
    Comment actions Permalink
  • Avatar
    Michael Sauerland

    Hello guys,

    i enabled the autoconfig / autodiscover staff and it works well so far, but i have on point i want to change, is there a way to change the port from 465 to 587 in the autoconfig response for smtp?

    I always get:
    <Protocol>
    <Type>SMTP</Type>
    <Server>mail.example.com</Server>
    <Port>465</Port>
    <DomainRequired>off</DomainRequired>
    <SPA>off</SPA>
    <SSL>on</SSL>
    <AuthRequired>on</AuthRequired>
    <LoginName>auto@example.com</LoginName>
    </Protocol>

    But i want to get port 587

    <Protocol>
    <Type>SMTP</Type>
    <Server>mail.example.com</Server>
    <Port>587</Port>
    <DomainRequired>off</DomainRequired>
    <SPA>off</SPA>
    <SSL>on</SSL>
    <AuthRequired>on</AuthRequired>
    <LoginName>auto@example.com</LoginName>
    </Protocol>

     

    All the best

    Michael

    0
    Comment actions Permalink
  • Avatar
    TomBob (Edited )

    Hi, just a quick one, is Plesk already at a point where we can specify the outgoing port as 465, or 587 in the [mail] section of panel.ini, or is that still work in progress?
    Half an hour searching for the answer send me round in loops. Nothing in the change logs either.

    Addition/Clarification: The servers have already for years been set up to use the submission port. Were the submission port disabled, Plesks default choice of port 465 makes sense. However as the port is enabled, it would be nice to have the ability to set it so using the panel.ini .
    Last I saw in the forum was a workaround using a script that runs after every update and adjusts settings deep inside Plesk. Hence my above question.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request