Re: Tool to store on IMAP server

2024-07-30 Thread Max Nikulin
On 30/07/2024 15:24, Tim Woodall wrote: On Mon, 29 Jul 2024, mick.crane wrote: I was concerned the '1722260402.M755015P70320.xx,S=17279,W=17606:2,S' numbers might get mixed up with new ones but didn't seem to matter. [...] Yes, I use unison to keep some imap servers in sync. Maildir

Re: Tool to store on IMAP server

2024-07-30 Thread Tim Woodall
On Tue, 30 Jul 2024, Nicolas George wrote: 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. Corr

Re: Tool to store on IMAP server

2024-07-30 Thread Nicolas George
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. -- Nicolas George

Re: Tool to store on IMAP server

2024-07-30 Thread Tim Woodall
On Mon, 29 Jul 2024, mick.crane wrote: On 2024-07-29 14:36, Nicolas George wrote: Hi. 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 I believe I copied all the old mails into eg. ~/Maidir/cur and they showed up. I was c

Re: Tool to store on IMAP server

2024-07-30 Thread Nicolas George
James Cloos (12024-07-29): > 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? I did not need to ask for help for the obvious solution “write it yourself”, be it from scratch or

Re: Tool to store on IMAP server

2024-07-29 Thread James Cloos
> "NG" == Nicolas George writes: NG> I got curl to work (I did not know that curl could do IMAP): NG> curl --user george --url imaps://server/Mail/testcurl --upload-file /tmp/mail NG> Unfortunately, curl hardcodes that mail uploaded that way are seen: NG> /* Send the APPEND command */ N

Re: Tool to store on IMAP server

2024-07-29 Thread Darac Marjal
On 29/07/2024 14:36, Nicolas George wrote: Hi. I am looking for a tool that reads a mail from its input and stores it into an IMAP mailbox: cat mail_file | imapupload imaps://george@server/Mail/incoming The goal would be to provide our users an alternative to forwarding their mail to another m

Re: Tool to store on IMAP server

2024-07-29 Thread Nicolas George
Greg Wooledge (12024-07-29): > You did not say you wanted to do this NON-INTERACTIVELY. Yes, I did, in the very first message: “The goal would be to provide our users an alternative to forwarding their mail to another mail provider” > Why do you want to do it non-interactively? It's ONE MESSAGE

Re: Tool to store on IMAP server

2024-07-29 Thread Greg Wooledge
On Mon, Jul 29, 2024 at 16:23:14 +0200, Nicolas George wrote: > I want: transfer ONE message to an IMAP account. > Then use the mutt solution. > And mutt's behavior is too unpredictable to be used in a non-interactive > way. You did not say you wanted to do this NON-INTERACTIVELY. Why do you wa

Re: Tool to store on IMAP server

2024-07-29 Thread Nicolas George
Greg Wooledge (12024-07-29): > https://superuser.com/questions/191719/transferring-lots-of-messages-between-imap-accounts Closer, but no: I want: transfer ONE message to an IMAP account. This: transfer LOTS OF messages to an IMAP account. imapsync (actually mbsync) is really good for what it is

Re: Tool to store on IMAP server

2024-07-29 Thread Greg Wooledge
On Mon, Jul 29, 2024 at 16:09:16 +0200, Nicolas George wrote: > 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 serv

Re: Tool to store on IMAP server

2024-07-29 Thread Nicolas George
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. -- Nicolas George

Re: Tool to store on IMAP server

2024-07-29 Thread mick.crane
On 2024-07-29 14:36, Nicolas George wrote: Hi. 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 I believe I copied all the old mails into eg. ~/Maidir/cur and they showed up. I was concerned the '1722260402.M755015P70320.x

Tool to store on IMAP server

2024-07-29 Thread Nicolas George
Hi. I am looking for a tool that reads a mail from its input and stores it into an IMAP mailbox: cat mail_file | imapupload imaps://george@server/Mail/incoming The goal would be to provide our users an alternative to forwarding their mail to another mail provider that we will have to forbid lest