0

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 resources online on whether this was possible or not.

require ["fileinto"];

if address :is "from" ["email1@email.com", "email2@email.com", "email3@email.com", "email4@email.com"]
{
    fileinto "Family";
}

Many thanks.

4
  • 2
    What mail server are you using?
    – DavidPostill
    Mar 17, 2022 at 20:47
  • @DavidPostill I am using ProtonMail.
    – telometto
    Mar 18, 2022 at 6:25
  • After a brief look at the documentation it looks like sieve works on incoming mail only. Normal filters work on all emails.
    – DavidPostill
    Mar 18, 2022 at 7:37
  • Aw, bummer. Alright, I'll close the issue. Thank you for your help. EDIT: looks like I can't. Should I leave it as is, then?
    – telometto
    Mar 18, 2022 at 15:29

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.