From: risto.salminen@gmx.com
To: 9front@9front.org
Subject: Re: [9front] upas/fs: copy messages between IMAP folders
Date: Fri, 28 May 2021 19:26:51 +0300 [thread overview]
Message-ID: <40423A77002E8BAD063567404CE5A28F@gmx.com> (raw)
In-Reply-To: <CEFD226B-5CB9-4B12-A300-7D35D285BCEA@stanleylieber.com>
Hello,
sl wrote:
> not sure I understand the problem clearly, but I copy messages from mbox to other folders via imap every day.
If it is possible to copy messages in some way already,
then there is indeed something that I do not understand.
Normally I open my mailbox as
; echo open /imaps/$mailserver/$mailuser mbox >/mail/fs/ctl
where $mailserver and $mailuser contain the actual server
and user values, so that then /mail/fs/mbox contains the
IMAP folder that I can open with just running 'mail'.
Then I open my archive folder as
; echo open /imaps/$mailserver/$mailuser/Archive Archive >/mail/fs/ctl
so that /mail/fs/Archive contains the archive, which can
be opened by running 'mail' and then 'mb Archive'.
If I now do
; upas/mbappend Archive /mail/fs/mbox/$id/raw
I get the message in /mail/box/$user/Archive, which is
just a local folder. If I do
; upas/mbappend /imaps/$mailserver/$mailuser/Archive /mail/fs/mbox/$id/raw
then I get back 'mbappend somepid: fail', because obviously
this is not the correct way to do it. If I do
; upas/mbappend /mail/fs/Archive /mail/fs/mbox/$id/raw
which would perhaps seem sensible, I also get back
'mbappend somepid: fail', this time because upas/fs
indeed disallows opening files inside /mail/fs/ folders
for writing.
Therefore, I have used the configuration in my patches
for some time, because I could not figure out any other
way to do this.
Perhaps someone would like to enlighten me how this is
supposed to work.
Thanks,
rsal
next prev parent reply other threads:[~2021-05-28 20:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-28 15:10 risto.salminen
2021-05-28 15:29 ` Stanley Lieber
2021-05-28 16:26 ` risto.salminen [this message]
2021-05-29 3:50 ` Stanley Lieber
2021-05-29 9:44 ` risto.salminen
2021-05-29 21:41 ` Lyndon Nerenberg (VE7TFX/VE6BBM)
2021-05-31 11:31 ` Risto Salminen
2021-05-31 22:34 ` Lyndon Nerenberg (VE7TFX/VE6BBM)
2021-05-28 22:11 ` kjn
2021-05-31 11:41 ` Risto Salminen
2021-06-09 21:41 ` igor
2021-06-10 11:02 ` Risto Salminen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40423A77002E8BAD063567404CE5A28F@gmx.com \
--to=risto.salminen@gmx.com \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).