You can use Let's encrypt certificates to secure communication with your e-mail server.
After you generate certificate for your mail server:
they have to be copied to new location because Postfix/CyrusIMAP cannot read them, the /etc/letsencrypt/live directory can be read only by root.
The solution is simple. I've copied them into /etc/postfix directory and change group to mail:
I've added this commands to /etc/cron.monthly/letsencrypt-auto.bash file (from my last post).
Of course you have to set that appropriate options, at least in /etc/postfix/main.cf:
and in /etc/imapd.conf:
After restart:
everything should work. Good luck!
First installation. It's simple
Turn on automatic start:
Check:
Add
in main.cf file as last element smtpd_recipient_restrictions option:
Now it looks like this:
Restart postfix. Done.
You can check in maillog if it works:
If you want be able to download all attachments at once you have to explicitly enable zipdownload plugin in config.inc.php file:
so simple...
Add comment