doveadm move -u user@example.com Archive mailbox INBOX seen

Category: Mail Servers & Postfix

doveadm move -u user@example.com Archive mailbox INBOX seen

Move read messages to another mailbox

Moves every message matching the search query from one folder to another, here relocating all read mail in INBOX to Archive. A cheap way to run a server-side folder policy. Preview the matches first with `doveadm search`.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.