Fix transport map authentication with multiple identical nexthops

This commit is contained in:
Michael Kuron
2018-12-25 15:02:50 +01:00
committed by GitHub
parent b3896d464c
commit 0974a5fb60

View File

@@ -120,7 +120,8 @@ dbname = ${DBNAME}
query = SELECT CONCAT_WS(':', username, password) AS auth_data FROM transports
WHERE nexthop = '%s'
AND active = '1'
AND username != '';
AND username != ''
LIMIT 1;
EOF
cat <<EOF > /opt/postfix/conf/sql/mysql_virtual_alias_domain_catchall_maps.cf