For advanced users, we support a sieve filter. Currently, our sieve filter only supports discarding or blocking emails. Some example use cases include
The Sieve filter allows you to manage your emails by setting up rules that automatically discard or block emails based on specific criteria. Currently, our sieve filter supports two main actions: discarding emails and blocking emails from certain senders or domains.
To configure the sieve filter, go to your domain management page, then click on tab "Advanced".
You can also go directlo to that page https://app.mailwip.com/domains/[your-domain]/advanced
Next, enter your Sieve filter into the "Sieve Spam Filter" text box and click "Save." You can refer to the examples in the section below for guidance on creating your filter.
To block a bad sender
if anyof (
header :contains "from" "spamy-domain",
header :contains "to" "unused-email@example.com",
header :contains "to" "another-unused-addres@example.com",
header :contains "subject" "spammy subject",
body :contains "spammy keyword",
) {
fileinto "SPAM";
}
To block email with a certain keywords
if anyof (
header :contains "from" "spamy-domain",
header :contains "to" "unused-email@example.com",
header :contains "to" "another-unused-addres@example.com",
header :contains "subject" "spammy-subject",
body :contains "spammy-keyword",
) {
fileinto "SPAM";
}
To complely discard/reject the emails from spammers
You just need to repeat the same filter, but instead of using file into "SPAM", you would use TRASH instead.
if anyof (
header :contains "from" "spamy-domain",
header :contains "to" "unused-email@example.com",
header :contains "to" "another-unused-addres@example.com",
header :contains "subject" "spammy keyword",
body :contains "spammy keyword",
) {
fileinto "TRASH";
}