[Postfix] Fix transport map authentication with multiple identical nexthops

master
André Peters 2018-12-25 15:06:52 +01:00 committed by GitHub
commit 4e7135a40e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -120,7 +120,8 @@ dbname = ${DBNAME}
query = SELECT CONCAT_WS(':', username, password) AS auth_data FROM transports query = SELECT CONCAT_WS(':', username, password) AS auth_data FROM transports
WHERE nexthop = '%s' WHERE nexthop = '%s'
AND active = '1' AND active = '1'
AND username != ''; AND username != ''
LIMIT 1;
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