2022-02-20 16:06:09 +01:00
|
|
|
Certificates Requirements
|
|
|
|
=========================
|
|
|
|
```
|
|
|
|
# apt install nginx certbot certbot-nginx
|
2022-02-20 16:09:34 +01:00
|
|
|
# systemctl enable --now nginx
|
2022-02-20 16:06:09 +01:00
|
|
|
# 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
|
|
|
|
|
|
|
|
```
|
2022-02-20 16:09:34 +01:00
|
|
|
# systemctl enable --now postfix dovecot
|
2022-02-20 16:06:09 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
2022-02-20 16:09:34 +01:00
|
|
|
Webmail Requirements
|
|
|
|
====================
|
2022-02-20 16:06:09 +01:00
|
|
|
|
|
|
|
Restore nginx configuraiton in /etc/nginx/sites-available and enable with
|
|
|
|
|
2022-02-20 16:09:34 +01:00
|
|
|
```
|
|
|
|
# cd /etc/nginx/sites-enabled
|
|
|
|
# ln -s ../sites-available/default .
|
|
|
|
# systemctl reload nginx
|
|
|
|
```
|
2022-02-20 16:06:09 +01:00
|
|
|
|
|
|
|
Download Rouncube from https://github.com/roundcube/roundcubemail
|
|
|
|
|
|
|
|
Install in /var/www/html/roundcube
|
|
|
|
|
|
|
|
Restore roundcube configuration in /var/www/html/roundcube/config/
|
|
|
|
|