SSL support for IMAP and SMTP

Discussion in 'Server Operation' started by smokinjo, May 9, 2020.

  1. smokinjo

    smokinjo Member HowtoForge Supporter

    I need to start using secure SMTP and IMAP.

    Does one need to install/activate this for the email server?
    I have been using the SSL certificates for the HTTPS on all my websites. Does this help any?

    Thanks

    Joseph
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I am assuming you mean certificates, so like you have httpS for web sites you want to use certificates for Postfix (SMTP) and Dovecot (IMAP).
    Same certificate can be used for website, Postfix and Dovecot, but the certificate must include the FQDN these services use. You can create a new website, like mailname.domain.tld, create certificate for that website and use that certificate also for Postfix. Same thing with Dovecot.
    Since you are not using ISPConfig (I assume, since you posted on Linux forum), you can not use directly the guide by @ahrasis, but you can get certificates working by understanding what the setup does and modify it for the situation on your server.
    https://www.howtoforge.com/tutorial/securing-ispconfig-3-with-a-free-lets-encrypt-ssl-certificate/
    For information about testing your setup, see https://www.howtoforge.com/how-to-i...ispconfig-on-debian-10/#creating-certificates
     

Share This Page