2
0
Эх сурвалжийг харах

[Postfix] Don't try to authenticate to relayhosts without username, fixes #725

andre.peters 7 жил өмнө
parent
commit
8d56534e76

+ 2 - 1
data/Dockerfiles/postfix/postfix.sh

@@ -86,7 +86,8 @@ query = SELECT CONCAT_WS(':', username, password) AS auth_data FROM relayhosts
       OR '%s' IN (
         SELECT CONCAT('@', alias_domain) FROM alias_domain
       )
-  );
+  )
+  AND username != '';
 EOF
 
 cat <<EOF > /opt/postfix/conf/sql/mysql_virtual_alias_domain_catchall_maps.cf

+ 1 - 1
docker-compose.yml

@@ -181,7 +181,7 @@ services:
             - dovecot
 
     postfix-mailcow:
-      image: mailcow/postfix:1.9
+      image: mailcow/postfix:1.10
       build: ./data/Dockerfiles/postfix
       volumes:
         - ./data/conf/postfix:/opt/postfix/conf