FreeBSD13.2 ; Mail Server(Postfix,Dovecot) , SSL/TLS
1.Obtaining a certificate for the mail server
Obtain a certificate for the mail server to convert the mail server to SSL/TLS.
Use the certbot that was used when the web server was converted to SSL.
Stop the web server and execute the following command
2.2 procmail Install
Mail is sorted by procmail.
2.3 cyrus-sasl2 , cyrus-sasl2-saslauthd Install
Use SASL for SMTP authentication; install Cyrus SASL2 library
3. Postfix Install
3.1 Install
4. Dovecot Install
4.1 Install
5.Create user mail directory
①Create mail directory for existing users (existing user is assumed to be huong)