diff --git a/data/Dockerfiles/postfix/postfix.sh b/data/Dockerfiles/postfix/postfix.sh index 43dff40d..c152606d 100755 --- a/data/Dockerfiles/postfix/postfix.sh +++ b/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 < /opt/postfix/conf/sql/mysql_virtual_alias_domain_catchall_maps.cf diff --git a/docker-compose.yml b/docker-compose.yml index 1227d10b..a58eb142 100644 --- a/docker-compose.yml +++ b/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