mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 07:08:14 +03:00

When removing an address, we want to make sure any queued messages for the account still still have their address associated with the account. E.g. through a catchall address. Before removing an account, we fail deliveries still in the queue for the account. We remove any addresses on the suppression list (which are stored in the queue database, not the account database file that is removed completely). We also clear all sessions for the webmail/webaccount interfaces. For the webmail, further operations will fail, and the reconnection attempt will cause the login popup with a message about an unknown session token.