0

I have made a post about this on reddit.

Can someone with a higher understanding of sieve help me do this? I am using ProtonMail. It has been something I tried to do on and off for months..

Filters / sieve filters. Make a filter to check recipient = your custom domain, choose action delete. Run on existing mails. Delete trash by using „Delete all“.

I tried doing that using the discard; from my knowledge but this did not work:

require "extlists";

if address :is "from" "my-email@domain.com"

{
 discard; 
}

Edit: Still need help!

Kamil
  • 27
  • 5

1 Answers1

0

how about this ?

require ["fileinto","discard"];
if address :is "from" "my-email@domain.com" {
  discard;
  stop;
}
hypermails
  • 726
  • 1
  • 10
  • 28
  • It produced an error because "discard" seems not to be a recognised plugin in ProtonMail. It went through when that was removed, but all along it was a GL from https://checksieve.com/ – Kamil Jan 24 '23 at 22:00
  • require ["fileinto","extlists"]; if address :is "from" "my-email@domain.com" { discard; stop; } I just tried that – Kamil Jan 24 '23 at 22:02