Add missing files and fix typo in package.
This commit is contained in:
parent
f1d5209b35
commit
74cbe1ffed
|
@ -57,7 +57,7 @@ RUN apt-get update -q --fix-missing && \
|
|||
pax \
|
||||
p7zip-full \
|
||||
postfix-ldap \
|
||||
postifx-mysql \
|
||||
postfix-mysql \
|
||||
postfix-policyd-spf-python \
|
||||
pyzor \
|
||||
rar \
|
||||
|
@ -115,7 +115,8 @@ RUN sed -i -e 's/include_try \/usr\/share\/dovecot\/protocols\.d/include_try \/e
|
|||
|
||||
# Configures LDAP
|
||||
COPY target/dovecot/dovecot-ldap.conf.ext /etc/dovecot
|
||||
COPY target/postfix/ldap-users.cf target/postfix/ldap-groups.cf target/postfix/ldap-aliases.cf /etc/postfix/
|
||||
COPY target/dovecot/dovecot-mysql.conf.ext /etc/dovecot
|
||||
COPY target/postfix/mysql.cf target/postfix/ldap-users.cf target/postfix/ldap-groups.cf target/postfix/ldap-aliases.cf /etc/postfix/
|
||||
|
||||
# Enables Spamassassin CRON updates
|
||||
RUN sed -i -r 's/^(CRON)=0/\1=1/g' /etc/default/spamassassin
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
driver = mysql
|
||||
connect = "host=127.0.0.1 dbname=vmail user=vmail password=vmaildbpass"
|
||||
default_pass_scheme = SHA512-CRYPT
|
||||
|
||||
password_query = SELECT username AS user, domain, password FROM accounts WHERE username = '%n' AND domain = '%d' and enabled = true;
|
||||
|
||||
user_query = SELECT concat('*:storage=', quota, 'M') AS quota_rule FROM accounts WHERE username = '%n' AND domain = '%d' AND sendonly = false;
|
||||
iterate_query = SELECT username, domain FROM accounts where sendonly = false;
|
|
@ -0,0 +1,5 @@
|
|||
hosts =
|
||||
user =
|
||||
password =
|
||||
dbname =
|
||||
query = SELECT 1 FROM transport WHERE domain= '%s
|
Loading…
Reference in New Issue