bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] movemail --keep-messages --uidl download the same


From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] movemail --keep-messages --uidl download the same
Date: Thu, 19 Nov 2020 08:03:25 +0200

Irek <mail@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://user@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]