"lock/disable" user's mailbox
Hello,
not sure if relevant here, but I'm in need of disabling or locking down an user's mailbox, without completely removing the related system account.
It would be nice if said account was not able to receive emails anymore, or "better", until it was re-enabled. Would also be cool if the sender received a warning back, upon the failed dispatch. Does that even make sense? :D
I'm running postfix and dovecot on a debian bookworm VPS. Thanks
-- roughnecks
- roughnecks via dovecot:
It would be nice if said account was not able to receive emails anymore, or "better", until it was re-enabled. Would also be cool if the sender received a warning back, upon the failed dispatch. [...]
Given that you are using Postfix, employing its recipient address verification [1] mechanism is one possible method to achieve your goal.
[1] https://www.postfix.org/ADDRESS_VERIFICATION_README.html
Postfix can respond with a 4xx status code ("retry later") for certain recipients of your choosing, leaving the sender to decide if/when they want to reconnect at a later time.
-Ralph
Il 28/07/2025 23:54, Ralph Seichter via dovecot ha scritto:
- roughnecks via dovecot:
It would be nice if said account was not able to receive emails anymore, or "better", until it was re-enabled. Would also be cool if the sender received a warning back, upon the failed dispatch. [...]
Given that you are using Postfix, employing its recipient address verification [1] mechanism is one possible method to achieve your goal.
Thanks, will check that out, then.
participants (2)
-
Ralph Seichter
-
roughnecks