I am looking for a tool that reads a mail from its input and stores itWith a new Dovecot install
into an IMAP mailbox:
mick.crane (12024-07-29):
I am looking for a tool that reads a mail from its input and stores it into an IMAP mailbox:With a new Dovecot install
Thanks, but this is not at all what I am asking. Dovecot is the server,
I am asking for a client.
https://superuser.com/questions/191719/transferring-lots-of-messages-between-imap-accounts
You did not say you wanted to do this NON-INTERACTIVELY.
Why do you want to do it non-interactively? It's ONE MESSAGE, ONE TIME!
Can anyone guess what my next response is going to be? I have a guess.
It will involve the letters X and Y.
I want: transfer ONE message to an IMAP account.
And mutt's behavior is too unpredictable to be used in a non-interactive
way.
"NG" == Nicolas George <george@nsup.org> writes:
I got curl to work (I did not know that curl could do IMAP):
curl --user george --url imaps://server/Mail/testcurl --upload-file /tmp/mail
Unfortunately, curl hardcodes that mail uploaded that way are seen:
/* Send the APPEND command */
result = imap_sendf(data,
"APPEND %s (\\Seen) {%" CURL_FORMAT_CURL_OFF_T "}",
mailbox, data->state.infilesize);
… and I need them to be new.
How about keeping a locally patched version of curl on hand (you could
call it something like /usr/local/bin/imap-upload) which sets the flags
as you want them to be?
Yes, I use unison to keep some imap servers in sync.
On 2024-07-29 14:36, Nicolas George wrote:
Hi.With a new Dovecot install I believe I copied all the old mails into eg. ~/Maidir/cur
I am looking for a tool that reads a mail from its input and stores it
into an IMAP mailbox:
and they showed up.
I was concerned the '1722260402.M755015P70320.xxxxxxxxxx,S=17279,W=17606:2,S' numbers might get mixed up with new ones but didn't seem to matter.
Probably not how you are supposed to do it.
mick
Tim Woodall (12024-07-30):
Yes, I use unison to keep some imap servers in sync.
Be precise: you use unison to keep the directories that serve as mail
storage for some IMAP servers in sync. Your unison does not know that
there is IMAP involved.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 09:12:01 |
Calls: | 10,387 |
Calls today: | 2 |
Files: | 14,060 |
Messages: | 6,416,669 |