* Michael Grimm <trash...@odo.in-berlin.de>:
> Hi --
> 
> Today, I've learned who to disable incoming mail delivery to dovecot 
> (accepted by postfix), temporarily. Now, I would like to know if there is a 
> way to make a "doveadm kick -A" a permanent disconnect until one would allow 
> reconnects, again? This should be done *without* shutting down dovecot or 
> *extensive* re-configuration. A "doveadm block -u <joe> -m 'sorry: running 
> maintenance, please, come back later'" alike tool/funtionality would be 
> ideal. 
> 
> Background: I would like to avoid any modification of my user's maildirs by a 
> running dovecot server while modifying maildir formats, mdbox_rotate_size 
> setting, and alike, where I would need doveadm/dsnyc access to userdb. (I 
> know there a ways to achieve this without downtimes, and I have already done 
> so.)

I think this can be done with post-login scripting, where a script
checks if the user is allowed to login.
http://wiki.dovecot.org/PostLoginScripting

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  ralf.hildebra...@charite.de | http://www.charite.de
            

Reply via email to