R. Diez wrote:
> 
> I found some tools on the Internet to backup and export mails from IMAP to
> IMAP or maildir destinations. But I could not find a tool that just
> reorganises (moves) e-mails in such a manner inside an existing mailbox,
> maybe with a user-defined pattern for the destination folders.

You could try imapfilter (written in lua), it can move mails between
mailboxes and do other things.

A short example:

oldmails = account1["INBOX"]:is_older(365)
oldmails:move_messages(account1["Old"])

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

Attachment: signature.asc
Description: PGP signature

Reply via email to