Why can I only send emails via TLS port 587 with hostname as SMTP server?

Discussion in 'Installation/Configuration' started by sebolavie, Jan 31, 2024.

  1. sebolavie

    sebolavie New Member


    Whether from an email client or my Prestashop store configured to send SMTP emails in TLS with port 587, if I do not put the hostname as SMTP server it does not work.
    I would like to be able to use the hosting domain name or mail.mondomaine.com as an SMTP server.

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The SSL certs for the mail system are issued for the hostname, that's why you must use the hostname to connect to the SMTP and IMAP server. If you want to change the hostname of your system, then you can do that and afterward create a new SSL cert for the new hostname using "ispconfig_update.sh --force". But take care that the hostname must be a subdomain, and this subdomain should not be used as a website. See also: https://www.howtoforge.com/ispconfig-email-account/

    There are other ways to reuse the SSL cert of a website as system hostname https://www.howtoforge.com/securing...server-with-a-valid-lets-encrypt-certificate/
    sebolavie and ahrasis like this.
  3. sebolavie

    sebolavie New Member

    Helo, thanks

Share This Page