[Dovecot] Maildirmake equiv?
Steffen Kaiser
skdovecot at smail.inf.fh-brs.de
Fri Aug 16 09:14:32 EEST 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 15 Aug 2013, LuKreme wrote:
> Since I am using dovecot I do not have courier installed, but Courier
> had a very handy tool for making maildir folders called `maildirmake`
> which I used in some automated backup scripts. How do I duplicate
> maildirmake in dovecot?
To replace the inner find, you could look at
doveadm move -u <user> savedbefore ...
To replace maildirmake -f, look at
doveadm mailbox create -u <user>
But you seem to create a new Maildir with each invokation of $MDM (no -f
option). IMHO it seems to be easier to make a small script, that creates
new/cur/tmp and, if not INBOX, touches maildirfolder.
Kind regards,
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUg3DSV3r2wJMiz2NAQJWqQf6AhVbFjyIT5wMwdT6liGI/5NI1K81c5qM
N7p0kfvivCgaDM0is8DiL+eKINsL76Bk07iJfAMiRuNuIb2cAcOgJwNCEIjVtwEN
7bSvX66NmO0Fzjob5SmbBe6LNtMylpEMa7vPdQGeuN+Jm+Btx7btsuAN+wvekJ+2
NwhR+rxt0fm6wT8+jtuUkyg05FzneL5pUEt/+P+KjBdNeJ82tCwD7AFyrWICKajT
br6vTS2AA9/jqh9P1dHtYg6ztkaRtqGbX5YKewmaqJQ3eu+NUo1wO0sxaRtaKdfj
/hjiOs9KPpmq8iRYiKPMiihOXjoI2wVGI4HuG7j0Wv93kBhCkfFgsg==
=TLXx
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list