Installatie blog
Installatie mailserver
Uitgaande van een situatie van herbouw waarbij de Postfix(admin), Dovecot config van 16.04 nog beschikbaar is.
apt-get install aptitude apt-get install postfix postfix-mysql postfix-pcre postfix-doc apt-get install dovecot-core dovecot-imapd dovecot-lmtpd dovecot-mysql dovecot-pop3d dovecot-sieve apt-get install opendkim opendkim-tools
Haal de werkende config op van de al werkende mailserver (mail-lb1 18.04) of van de locatie met de gebackupte bestanden van de oude mailserver.
cd /etc/postfix scp -pr * mail-lb2-int.hobby.nl:/etc/postfix cd /etc/postfixadmin scp -pr * mail-lb2-int.hobby.nl:/etc/postfixadmin cd /etc/dovecot scp -pr * mail-lb2-int.hobby.nl:/etc/dovecot cd /etc/opendkim scp -pr * mail-lb2-int.hobby.nl:/etc/opendkim scp -pr ../opendkim.conf mail-lb2-int.hobby.nl:/etc/opendkim.conf
Maak de user vmail aan.
/etc/passwd: vmail:x:5000:5000::/home/vmail/:/bin/sh /etc/group : vmail:x:5000: /etc/shadow: vmail:!:14466:0:99999:7:::
Installeer amavis-new, spamassassin, clamav
apt-get -y install amavisd-new spamassassin clamav clamav-daemon unzip bzip2 arj nomarch lzop cabextract apt-listchanges libnet-ldap-perl libauthen-sasl-perl clamav-docs daemon libio-string-perl libio-socket-ssl-perl libnet-ident-perl zip libnet-dns-perl postgrey