YunoHost-Apps / roundcube_ynh

Roundcube package for YunoHost
https://roundcube.net/
GNU Affero General Public License v3.0
11 stars 19 forks source link

Filters don't work #111

Open PetloLithi opened 3 years ago

PetloLithi commented 3 years ago

Hi,

When I create a new filter to move e-mail to a folder, the filter don't work if the destination folder have a "parent folder". In this case e-mail stay in the parent folder. But if the destination folder is a "root" folder the filter work well.

Old filters work well even if the destination folder have a "parent folder". The bug is just for new filter created.

Sorry for my English and thank for your help !

MayeulC commented 2 years ago

I never figured how to make filters work.

For instance:

require ["fileinto"];
# rule:[Cron mayeul]
if allof (header :contains "subject" "Cron", header :contains "from" "root@mywebsite.tld", header :contains "to" "me@mywebsite.tld")
{
        fileinto "INBOX.Cron me";
        stop;
}
# rule:[Cron root]
if allof (header :contains "subject" "Cron", header :is "from" "root@mywebsite.tld", header :is "to" "root@mywebsite.tld")
{
        fileinto "INBOX.Syst&AOg-me.cron root";
        stop;
}
# rule:[netdata]
if allof (header :is "from" "netdata@mywebsite.tld")
{
        fileinto "INBOX.Syst&AOg-me.netdata";
}

I've had the first two for more than 2 years now, they never worked. I just added the third, we'll see.