- Timo Sirainen tss@iki.fi:
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
Yes, just the other way round. It's even better, since the MOVE operation would have REMOVED the mails from the backup. IMPORT instead only copies what it needs.
-- 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.hildebrandt@charite.de | http://www.charite.de