Right now when you disable an account the UI informs you that it also disables outbound e-mail notifications. And it does, for things like maniphest notifications and the like.
However, "confirm your e-mail" e-mails don't seem to be caught by this and the MTA jobs get stuck in their fail/retry loop rather than giving up permanently on the next attempt.
Example: I disabled a bogus user when the "confirm your e-mail" MTA job was on its ~200th attempt. It's now at its ~240th attempt :) Here's some stacktraces of the e-mail failure for extra context:
./bin/mail show-outbound --id 5487144 PROPERTIES ID: 5487144 Status: queued Related PHID: PHID-USER-hjtpcywvccalxztnwqul Message: SMTP Error: The following recipients failed: {bogus e-mail snipped} #0 /srv/phab/phabricator/externals/phpmailer/class.phpmailer.php(576): PHPMailer->SmtpSend('Date: Fri, 8 Ja...', 'Hi {bogus user}??Pl...') #1 /srv/phab/phabricator/src/applications/metamta/adapter/PhabricatorMailImplementationPHPMailerAdapter.php(120): PHPMailer->Send() #2 /srv/phab/phabricator/src/applications/metamta/storage/PhabricatorMetaMTAMail.php(733): PhabricatorMailImplementationPHPMailerAdapter->send() #3 /srv/phab/phabricator/src/applications/metamta/PhabricatorMetaMTAWorker.php(26): PhabricatorMetaMTAMail->sendNow() #4 /srv/phab/phabricator/src/infrastructure/daemon/workers/PhabricatorWorker.php(122): PhabricatorMetaMTAWorker->doWork() #5 /srv/phab/phabricator/src/infrastructure/daemon/workers/storage/PhabricatorWorkerActiveTask.php(171): PhabricatorWorker->executeTask() #6 /srv/phab/phabricator/src/infrastructure/daemon/workers/PhabricatorTaskmasterDaemon.php(22): PhabricatorWorkerActiveTask->executeTask() #7 /srv/phab/libphutil/src/daemon/PhutilDaemon.php(183): PhabricatorTaskmasterDaemon->run() #8 /srv/phab/libphutil/scripts/daemon/exec/exec_daemon.php(125): PhutilDaemon->execute() #9 {main} PARAMETERS sensitive: 1 raw-to: ["{bogus e-mail snipped}"] force: 1 subject: [Phabricator] Email Verification actors.sent: [] routing.sent: null routingmap.sent: [] HEADERS X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All TEXT BODY Hi {bogus user} Please verify that you own this email address ({bogus e-mail snipped}) by clicking this link: https://phabricator.wikimedia.org/emailverify/{snip key}/ HTML BODY (This message has no HTML body.)