[Postfix] Fix "disallow login": A catch-all will not catch mail for mailboxes with disallowed login
This commit is contained in:
@@ -2472,6 +2472,7 @@ function mailbox($_action, $_type, $_data = null, $_extra = null) {
|
||||
':username' => $username
|
||||
));
|
||||
}
|
||||
// We could either set alias = 1 if alias = 2 or tune the Postfix alias table (that's what we did, TODO: to it the other way)
|
||||
$stmt = $pdo->prepare("UPDATE `alias` SET
|
||||
`active` = :active
|
||||
WHERE `address` = :address");
|
||||
|
Reference in New Issue
Block a user