mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-05 15:57:23 +01:00
various fixes; rewrote test scripts
This commit is contained in:
@@ -111,11 +111,18 @@ EOF
|
||||
sed -i "s/#port = 143/port = 0/" /etc/dovecot/conf.d/10-master.conf
|
||||
sed -i "s/#port = 110/port = 0/" /etc/dovecot/conf.d/10-master.conf
|
||||
|
||||
# Create a Unix domain socket specific for postgres to connect via LMTP because
|
||||
# postgres is already configured to use this location, and create a TCP socket
|
||||
# Create a Unix domain socket specific for postgres for auth and LMTP because
|
||||
# postgres is more easily configured to use these locations, and create a TCP socket
|
||||
# for spampd to inject mail on (if it's configured later). dovecot's standard
|
||||
# lmtp unix socket is also listening.
|
||||
cat > /etc/dovecot/conf.d/99-local.conf << EOF;
|
||||
service auth {
|
||||
unix_listener /var/spool/postfix/private/auth {
|
||||
mode = 0666
|
||||
user = postfix
|
||||
group = postfix
|
||||
}
|
||||
}
|
||||
service lmtp {
|
||||
unix_listener /var/spool/postfix/private/dovecot-lmtp {
|
||||
user = postfix
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Spam filtering with spamassassin via spampd.
|
||||
|
||||
apt-get -q -y install spampd dovecot-antispam
|
||||
apt-get -q -y install spampd dovecot-sieve dovecot-antispam
|
||||
|
||||
# Hook into postfix. Replace dovecot with spampd as the mail delivery agent.
|
||||
tools/editconf.py /etc/postfix/main.cf virtual_transport=lmtp:[127.0.0.1]:10025
|
||||
|
||||
@@ -48,3 +48,5 @@ EOF
|
||||
. scripts/dns_update.sh
|
||||
. scripts/add_mail_user.sh
|
||||
. scripts/users_update.sh
|
||||
. scripts/web.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user