X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;ds=inline;f=all_new_2018%2Fsetup_mail.sh;h=a3045e6b8dcec054b07aaf0a61384ac373d57700;hb=db8166ccd4711d311a845d009e859c9c415ea657;hp=29ea6041e3a6358a11e5720f419fcc457c6bf45d;hpb=51ebb6a3ca46a94384fd949cc1dae483095ab76a;p=config diff --git a/all_new_2018/setup_mail.sh b/all_new_2018/setup_mail.sh index 29ea604..a3045e6 100755 --- a/all_new_2018/setup_mail.sh +++ b/all_new_2018/setup_mail.sh @@ -3,8 +3,9 @@ set -e echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections echo "postfix postfix/mailname string $(hostname -f)" | debconf-set-selections -apt install postfix +echo "$(hostname -f)" > /etc/mailname +apt install -y postfix mkdir -p /etc/dovecot/conf.d/ echo "ssl_cert = /etc/dovecot/conf.d/99-ssl-certs.conf echo "ssl_key = > /etc/dovecot/conf.d/99-ssl-certs.conf -apt install dovecot-imapd +apt install -y dovecot-imapd