# - Install complete Mailsystem # - =========================== # - # - postfix # - vacation, postfixadmin # - amavisd-new # - dovecot # - roundcube # - opendekim # - # - Assuming the following services are installed (and running) correctly: # - apache2 webservice # - PHP engine # - Let's encrypt (dehydrated - optional # - 1.) Install Postfix - run script 'install_postfix_advanced.sh' if running the forst time, configuration file conf/install_postfix_advanced.conf will be created automatically. choose 'complete Mailserver (with mailboxes)' Note: Maybe aou want change mailserver cert and key located in directory '/etc/postfix/ssl': FQHN='e.mx.oopen.de' rm /etc/postfix/ssl/mailserver.crt rm /etc/postfix/ssl/mailserver.key ln -s /var/lib/dehydrated/certs/${FQHN}/fullchain.pem /etc/postfix/ssl/mailserver.crt ln -s /var/lib/dehydrated/certs/${FQHN}/privkey.pem /etc/postfix/ssl/mailserver.key systemctl restart postfix 2.) Install vacation and postfixadmin - create configuration file 'install_postfixadmin.conf' cp -a conf/install_postfixadmin.conf.sample conf/install_postfixadmin.conf - adjust config file 'conf/install_postfixadmin.conf' to your needs - run script 'install_postfixadmin.sh' Note: Browse to http://adm-e.oopen.de/setup.php to create a 'setup password' If this is a fresh new installation, you have also to ceate one (ore more) superadmin account(s). Instructions on how to do this are pointed out at the setup site. !! NOTE !! if password encryption is setup with 'dovecotpw' you have to create the admin accounts after installing 'dovecot'. 3.) Install AMaViS - run script 'install_amavis.sh'. if running the forst time, configuration file conf/install_amavis.sh.conf will be created automatically. 4.) Install dovecot - create configuration file 'install_update_dovecot.conf' cp -a conf install_update_dovecot.conf.sample install_update_dovecot.conf - adjust configuration file 'install_update_dovecot.conf' to your needs - run script 'install_update_dovecot.sh' Note: Maybe you have to finish installing postfixadmin, i.e creating admin account(s). 5.) Install roundcube webmailer - create configuration file 'install_upgrade_roundcube.conf' sp -a install_upgrade_roundcube.conf.sample install_upgrade_roundcube.conf - adjust config file 'install_upgrade_roundcube.conf' to your needs run script 'install_roundcube.sh'. 6.) Install OpenDKIM - run script 'install_opendkim.sh'. 7.) Install OpenDMARC - run script 'install_opendmarc.sh'.