Help with sieve filters

I am trying to set up a email filter for us to auto delete emails coming from a specific email addresses. I've followed Protons guides on their website but just want to make sure that im doing the right thing.

require ["fileinto", "vnd.proton.expire"];

if address :is "to" "example@example.com" { expire "day" "180"; fileinto "Onboarding"; stop; }

The emails already filter into a folder called "Onboarding."

9 points · 3 comments · view on lemmy.world

3 Comments

Ulrich@feddit.org · 2 pts · 1y (2 replies)

Do you really need 180 days? If you just send it to trash it will delete after 30 days.

transkidsdeservebetter@lemmy.world · 1 pts · 1y (1 reply)

the whole point is we want it so that an email comes in and it self deletes after 180 days

Nelizea@lemmy.world · 1 pts · 1y

Do you still need help or did you get it sorted?