Because of the increasing fight against unsolicited (SPAM) emails internet service providers (ISP) started to block 25 port for email sending. Because of this and also due to your information security you can start sending mails through an encrypted connection (SSL). In this tutorial, we will tell you how to enable encrypted connection for email sending (465 port) and receiving (993 and 995 port) in the "DirectAdmin" control panel with a self-signed certificate.
If you want to use your own certificate you should skip the first step and place your certificate key and private key in "exim.cert" and "exim.key" files.
The tutorial was prepared with our "DirectAdmin 1.5 with CentOS 6" template and is meant to work on our self-managed virtual private servers.
0. Preliminary requirements: "DirectAdmin 1.5 with CentOS 6" template installed on the server;
That's it. From now on you will be able to use an encrypted connection to check your email by 993 (SMTP), 995 (POP3) port or to send email by 465 (STMP) port.