@Carlos
Thank you for the introduction to imapsync. Can be run from any trusted system, not just my workstation. No running mail client required.

On Tue, Mar 29, 2022, 21:12 Carlos E. R. <robin.listas@telefonica.net> wrote:
On 2022-03-29 20:46, George from the tribe wrote:
> On 3/27/22 01:48, Klaus Maas wrote:
>> Try to assign a different SMTP server for your Yahoo account, e.g. the
>> SMTP server of the target account or another SMTP server for which you
>> have login credentials.
>>
>>
>
> Thank you, that is what I have done and it worked. I am not sure why the
> TB interface to yahoo won't allow forwarding by rule, but this
> workaround has done the trick for what I need it to do.
>
>

There is another way with Thunderbird, if both source and destination
accounts have imap. You tell Thunderbird to _move_mail from one _folder_
to another folder. It just happens that the destination folder is on
another account, so what? :-)

I'm doing that, just that the destination folder happens to be my own
dovecot server in my own computer. I have occasionally moved email
manually between remote imap accounts, so it should work with a filter, too.

The destination folder doesn't need to be the main or "INPUT" folder, it
can be any other folder you create for the purpose, so that yahoo mails
are not confused with others.

The caveat is that moved mail don't get a header that logs the act.


You can also do that with an external tool, such as "imapsync". Example:

imapsync --errorsmax 150 --addheader --no-modulesversion \
   --host1 imap.gmx.com --user1 USER --passfile1 .secret_Gmx       \
   --host2 telcontar.valinor --user2 cer --passfile2 .secret_Telcontar \
   --delete1            \
   --folder temp_g  --f1f2 temp_g=GMX_L_tmp

And put the script on crontab.

--
Cheers / Saludos,

                Carlos E. R.
                (from 15.3 x86_64 at Telcontar)