.sieve rule

Discussion in 'ISPConfig 3 Priority Support' started by rob_morin, Nov 27, 2016.

  1. rob_morin

    rob_morin Member

    Hello all,

    I wrote this sieve rule for my wife's email, it is suppose to accept only the emails listed and refuse all others, it seemed to work at first, but them she started getting all those stupid sex emails again. Did I do something wrong?

    Thanks

    require ["fileinto", "regex", "date", "relational", "vacation","reject"];

    if address :matches "from" ["rob@domain.ca",
    "rmorin@domain2.com",
    "paula@domain.ca",
    "phabib@domain.ca",
    "phabib@domain3.ca",
    "newsandmore@emails.airmiles.ca",
    "ticketmaster.ca"
    ]
    { keep; }

    elsif address :matches "from" "*@*" { reject "go away"; }
     
  2. rob_morin

    rob_morin Member

    Scratch that, lol they were emails from before i made the rule, my bad , sorry...
     

Share This Page