Questions tagged [sieve-rules]
The sieve-rules tag has no usage guidance, but it has a tag wiki.
7
questions
0
votes
0
answers
70
views
Is it possible to create a sieve rule to sort existing emails?
I have made a (very) simple sieve script to sort incoming emails, but I was wondering if it is possible to sort existing emails into folders using sieve? I'm very new to sieve and I couldn't find ...
1
vote
0
answers
30
views
Replacing a long list of Sieve rules with a generic rule
I have a couple of Sieve rules like this:
if header :contains "To" "shop1@domain.tld"
{
fileinto "shops/shop1" ;
}
[...]
if header :contains "To" "...
1
vote
1
answer
593
views
Sieve rule for search body
I am using Protonmail and I am looking for a Sieve rule example. I want to add a Sieve filter rule that if a message was from x@x.com and the message body contains "this is the body" then ...
5
votes
1
answer
3k
views
How to change a message's subject in a Sieve rule?
I am subscribed to a mailing list that does not identify itself in the subject of mails sent via the list.
I would like to have list mail delivered to my main inbox, but still be able to identify them ...
1
vote
1
answer
851
views
Sieve rule for catch-all email setup: Filter into folders based on alias
I'm running a catch-all email setup with my own domain (mydomain.tld). My hoster offers me to create arbitrary Sieve mail filter rules. I would like to create a rule that moves all incoming mail to a ...
0
votes
0
answers
696
views
Write a Sieve (language) filter to search an body and header of a message for a list of strings
I have the following rule in sieve to filter out messages containing various words in foreign languages:
if body :raw :contains [
"choix",
"comprovante",
... # ...
1
vote
2
answers
377
views
Clarification about sieve rules needed ... :contains with or without anyof/allof?
I started refining my sieve rules recently and became a bit unsure about how :contains actually works. I checked out http://sieve.mozdev.org/reference.html but it still didn't clear up the question I ...