[Postfix] Don't try to authenticate to relayhosts without username, fixes #725
parent
603956ca6a
commit
8d56534e76
|
@ -86,7 +86,8 @@ query = SELECT CONCAT_WS(':', username, password) AS auth_data FROM relayhosts
|
||||||
OR '%s' IN (
|
OR '%s' IN (
|
||||||
SELECT CONCAT('@', alias_domain) FROM alias_domain
|
SELECT CONCAT('@', alias_domain) FROM alias_domain
|
||||||
)
|
)
|
||||||
);
|
)
|
||||||
|
AND username != '';
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat <<EOF > /opt/postfix/conf/sql/mysql_virtual_alias_domain_catchall_maps.cf
|
cat <<EOF > /opt/postfix/conf/sql/mysql_virtual_alias_domain_catchall_maps.cf
|
||||||
|
|
|
@ -181,7 +181,7 @@ services:
|
||||||
- dovecot
|
- dovecot
|
||||||
|
|
||||||
postfix-mailcow:
|
postfix-mailcow:
|
||||||
image: mailcow/postfix:1.9
|
image: mailcow/postfix:1.10
|
||||||
build: ./data/Dockerfiles/postfix
|
build: ./data/Dockerfiles/postfix
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/conf/postfix:/opt/postfix/conf
|
- ./data/conf/postfix:/opt/postfix/conf
|
||||||
|
|
Loading…
Reference in New Issue