Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filters don't work #111

Open
PetloLithi opened this issue Apr 21, 2021 · 1 comment
Open

Filters don't work #111

PetloLithi opened this issue Apr 21, 2021 · 1 comment

Comments

@PetloLithi
Copy link

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
Copy link

MayeulC commented Nov 5, 2021

I never figured how to make filters work.

For instance:

require ["fileinto"];
# rule:[Cron mayeul]
if allof (header :contains "subject" "Cron", header :contains "from" "[email protected]", header :contains "to" "[email protected]")
{
        fileinto "INBOX.Cron me";
        stop;
}
# rule:[Cron root]
if allof (header :contains "subject" "Cron", header :is "from" "[email protected]", header :is "to" "[email protected]")
{
        fileinto "INBOX.Syst&AOg-me.cron root";
        stop;
}
# rule:[netdata]
if allof (header :is "from" "[email protected]")
{
        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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants