set dovecot postmaster_address setting, fixes #31

This commit is contained in:
Joshua Tauberer
2014-04-24 11:58:53 +00:00
förälder ac13f7ffca
incheckning 07b43c2bba
2 ändrade filer med 5 tillägg och 0 borttagningar
+4
Visa fil
@@ -192,6 +192,10 @@ protocol imap {
}
EOF
# postmaster_address seems to be required or LMTP won't start
tools/editconf.py /etc/dovecot/conf.d/15-lda.conf \
postmaster_address=postmaster@$PUBLIC_HOSTNAME
# Drew Crawford sets the auth-worker process to run as the mail user, but we don't care if it runs as root.
# Enable SSL and specify the location of the SSL certificate and private key files.
+1
Visa fil
@@ -81,5 +81,6 @@ if [ -z "`tools/mail.py user`" ]; then
read -e -i "user@`hostname`" -p "Email Address: " EMAIL_ADDR
tools/mail.py user add $EMAIL_ADDR # will ask for password
tools/mail.py alias add hostmaster@$PUBLIC_HOSTNAME $EMAIL_ADDR
tools/mail.py alias add postmaster@$PUBLIC_HOSTNAME $EMAIL_ADDR
fi