[Postfix] Fix "disallow login": A catch-all will not catch mail for mailboxes with disallowed login

This commit is contained in:
andryyy
2020-06-06 01:12:31 +02:00
parent 80ad8fc764
commit ab5d78f675
4 changed files with 6 additions and 5 deletions

View File

@@ -206,7 +206,7 @@ hosts = unix:/var/run/mysqld/mysqld.sock
dbname = ${DBNAME}
query = SELECT goto FROM alias
WHERE address='%s'
AND active='1';
AND (active='1' OR active='2');
EOF
cat <<EOF > /opt/postfix/conf/sql/mysql_recipient_bcc_maps.cf