ispconfig mailserver only configuration with letsencrypt

Discussion in 'Installation/Configuration' started by zenny, Jun 29, 2019.

  1. zenny

    zenny Member


    There is a dilemma to configure a mailserver only instance of ispconfig which is hosted separately in different location from the webserver and nameserver.

    domain.tld and www.domain.tld is pointed to to host webserver
    mail.domain.tld is pointed to to host mails only

    The problem is what exactly should go with the configuration? 'dpkg-reconfigure postfix' suggest to use domain.tld, but that is not possible because letsencrypt refuses to issue the certificate. Anyway, it works fine with the mail.domain.tld in postfix until the mailserver handles a single domain.tld.

    However, when more mail.domain.tlds are added to the panel, one needs to add a site with alias domains for the additional sites to get the certificates issued which is a clumsy task.

    Or did I miss something?

  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    You only need LE certs for your mail server hostname fqdn, not each and every domain in it.

    You can request LE certs via standalone or dns-challenge if it is a standalone mail server i.e without any web server.

Share This Page