set qualify_domain
This commit is contained in:
parent
5b2f1749ac
commit
f26b3af5cf
|
@ -1,4 +1,4 @@
|
|||
# vmail-stack
|
||||
# Vmail Stack
|
||||
|
||||
## Install
|
||||
```
|
||||
|
@ -8,5 +8,4 @@ cd vmail-stack
|
|||
bash install.sh
|
||||
```
|
||||
|
||||
|
||||
|
||||
Check that qualify_domain has been properly configured in /etc/exim4/exim_local.conf
|
||||
|
|
|
@ -98,6 +98,7 @@ chown debian-spamd:mail /etc/spamassassin/sql.cf
|
|||
chmod 640 /etc/spamassassin/sql.cf
|
||||
|
||||
# exim config
|
||||
maildomain=`hostname -d`
|
||||
sed -i 's/size 10M/daily/g' /etc/logrotate.d/exim4-paniclog
|
||||
install --owner=Debian-exim --group=Debian-exim --mode=640 /dev/null /etc/exim4/relay_domains
|
||||
cp etc/exim4/* /etc/exim4/
|
||||
|
@ -108,7 +109,9 @@ chown Debian-exim:Debian-exim /etc/exim4/return-resender.sh
|
|||
chmod 640 /etc/exim4/return-resender.sh
|
||||
chown Debian-exim:Debian-exim /etc/exim4/skip_greylisting_hosts
|
||||
chmod 640 /etc/exim4/skip_greylisting_hosts
|
||||
sed -i "s|example.com|$maildomain|g" /etc/exim4/skip_greylisting_hosts
|
||||
sed -i "s|password|$VMAILPASS|g" /etc/exim4/exim_local.conf
|
||||
sed -i "s|example.com|$maildomain|g" /etc/exim4/exim_local.conf
|
||||
|
||||
# dovecot config
|
||||
mkdir /etc/dovecot/sites.d
|
||||
|
@ -141,9 +144,6 @@ chmod 644 /usr/lib/systemd/system/vmail-cron.*
|
|||
systemctl daemon-reload
|
||||
systemctl start vmail-cron.timer
|
||||
|
||||
chmod 755 sbin/*
|
||||
cp sbin/* /usr/local/sbin/
|
||||
|
||||
# download and install roundcubemail
|
||||
# cd /usr/local/src/
|
||||
# wget --continue --quiet https://github.com/roundcube/roundcubemail/releases/download/1.4.11/roundcubemail-1.4.11-complete.tar.gz
|
||||
|
|
Loading…
Reference in New Issue
Block a user