mail/INSTALL.md

40 lines
782 B
Markdown

Certificates Requirements
=========================
```
# apt install nginx certbot certbot-nginx
# systemctl enable --now nginx
# certbot certonly --nginx -d mail.a-lec.org
```
Mail Requirements
=================
```
# apt install fail2ban postfix postfix-pcre opendkim spamassassin dovecot-imap dovecot-sieve
```
Restore config files
```
# systemctl enable --now postfix dovecot
```
Webmail Requirements
====================
Restore nginx configuraiton in /etc/nginx/sites-available and enable with
```
# cd /etc/nginx/sites-enabled
# ln -s ../sites-available/default .
# systemctl reload nginx
```
Download Rouncube from https://github.com/roundcube/roundcubemail
Install in /var/www/html/roundcube
Restore roundcube configuration in /var/www/html/roundcube/config/