Irek <m...@gumen.pl> ha escrit: > Thanks for you quick replay and explanation. Now I understand the whole > situation. I will use movemail anyway and approach issue differently.
You can use the "moveto=FOLDER" clause in the imap url. It causes each message to be moved to FOLDER on the mail server, after successful download. This way the message continues to be available from the server and at the same time won't be downloaded again. Example usage: movemail 'imap://u...@mail.example.com;moveto=archived' ~/mailbox (notice quoting the first argument). In this example all downloaded messages will be available in the folder 'archived' on 'mail.example.com'. As a side note, after a bit of thinking about your proposal I came up with a couple of solutions that I'm going to implement in future releases. They're rather vague for the moment and need good polishing. I'll let you know when I have something palpable. Regards, Sergey