[Dovecot] Temporarily disable mail delivery when using Dovecot's LDA
Avinash Sultanpur
avinash.s at yukthi.com
Sat Sep 14 11:32:16 EEST 2013
On Sat, Sep 14, 2013 at 01:36:00AM -0500, Stan Hoeppner wrote:
> On 9/14/2013 12:33 AM, Avinash Sultanpur wrote:
>
> > How can I disable mail delivery to a user or a mailbox temporarily. Is
> > there something in the lines of qmail where you set a sticky bit on
> > the home directory and mail delivery is deferred?
>
> This is a job for your MTA, not Dovecot. Dovecot has no deferred queue,
> and in fact has no mail queues at all.
>
> Do you actually want to defer the mail into a queue, or do you want to
> return a 4xx "mailbox temporarily unavailable" to the sender?
>
> In other words, what problem are you trying to solve?
I should have described it earlier. My mailboxes are named after the
usernames and I want to rename the mailbox whenever the username
changes. Found this thread about the same topic.
http://dovecot.org/list/dovecot/2012-February/133339.html
Also the doveadm-mailbox(1) has a rename argument. I will check out
what it does.
Thanks,
Avinash.
More information about the dovecot
mailing list