[Dovecot] Move mail in Maildir without IMAP
Timo Sirainen
tss at iki.fi
Sun Dec 21 10:18:53 EET 2008
On Sat, 2008-12-20 at 12:37 +0000, RW wrote:
> On Fri, 19 Dec 2008 07:52:58 +0200
> Timo Sirainen <tss at iki.fi> wrote:
>
> > No. But you could do something like:
> >
> > export MAIL=maildir:/home/user/Maildir
> > printf "1 select src\n2 copy 1:* dest\n3 store 1:* +flags.silent
> > \\deleted\n4 close\n" | imap
>
> That's easier than I thought. Is it possible to do that with virtual
> accounts, if I set the appropriate uid and path in MAIL, or do I need
> to give dovecot some additional user information?
Those should be enough. Perhaps also set USER just in case. Also if
you're using some plugins they're not enabled when running like this
(but with extra environment settings you could run them too).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081221/98603e1c/attachment-0001.bin
More information about the dovecot
mailing list