[Dovecot] doveadm move from one user's mailbox to another user's mailbox?

Timo Sirainen tss at iki.fi
Wed Jan 4 16:11:26 EET 2012


On Wed, 2012-01-04 at 15:06 +0100, Ralf Hildebrandt wrote:
> Is something along the lines:
> doveadm move -u sourceuser destinationuser:/inbox search_query
> possible with 2.0.16?
> 
> I want to move mails from a backup mailbox (which has no valid
> password assigned) to a "restore" mailbox (which *HAS* a password
> assigned to it).

I guess:

doveadm import -u dest maildir:/source/Maildir "" search_query

There's no direct command to move mails between users. Or you could
create a shared namespace..





More information about the dovecot mailing list