Automatic purging of old email in all mailboxes

Scott W. Sander scottwsx96 at gmail.com
Tue Aug 30 16:02:36 UTC 2016


Forgive me, I'm a novice.  Consider that today I have already set up a
working postfix + Dovecot server with userdb using the static driver and
passdb using a password file (in the format <username>:{hashing
algorithm}<password hash>).  The Dovecot server has several mailboxes which
are already in use today.

I understand that I'll need to change over to using the passwd-file driver
in order to get doveadm mailbox iteration working.  That said, can someone
please explain how I could migrate over from the static to passwd-file
without causing disruption to the existing mailboxes?  Do I need to just
add some more information to my Dovecot password file (namely the uid, gid,
and mailbox home location)?  If so, can I still use the "vmail" uid and gid
for all mailbox users that I was using with the static driver configuration?

Sorry, when I followed the setup guide I did, I did not realize it would
prevent me from being able to use doveadm expunge -A and doveadm search -A.

Thank you!

On Tue, Aug 30, 2016 at 1:07 AM Stefán Tamás <tamas at numex.hu> wrote:

> 2016. 08. 29, hétfő keltezéssel 19.40-kor Scott W. Sander ezt írta:
>
> > userdb {
> >   args = uid=vmail gid=vmail home=/var/mail/vhosts/%d/%n
> >   driver = static
> > }
>
> Use passwd-file driver to get iteration working. The static driver is
> can not be used for iteration.
>
>
> --
> Üdvözlettel
>
> Stefán Tamás
> --------------------------------- domain > email > web >>> siker
> Numex Informatika Kft.
> Mobil: +36 20 956 0233, Tel: +36 1 205 3915, Fax: +36 1 203 6037
> http://numex.hu
>


More information about the dovecot mailing list