mailserver.txt 644 B

123456789101112131415161718192021222324252627282930
  1. apt update && apt upgrade -y
  2. apt install git certbot python-certbot-nginx nano
  3. apt-get install amavisd-new spamassassin clamav clamav-daemon unzip bzip2 libnet-ph-perl libnet-snpp-perl libnet-telnet-perl nomarch lzop
  4. git clone https%3A%2F%2Fgithub.com%2Fmodoboa%2Fmodoboa-installer
  5. apt install python-virtualenv python-pip libdbd-pg-perl
  6. cd modoboa-installer
  7. touch DeineDomain.de
  8. ./run.py --stop-after-configfile-check DeineDomain.de
  9. nano installer.cfg
  10. type = letsencrypt
  11. email = admin@DeineDomain.de
  12. ./run.py --interactive DeineDomain.de
  13. certbot certonly -d mail.DeineDomain.de
  14. 2
  15. service nginx restart
  16. /etc/init.d/dovecot restart