Which MDA do you use, Cirus or Dovecot?

If Dovecot, you can make a default.sieve rule in you sieve dir with something like this:

require ["fileinto"];
# Move spam to spam folder
if anyof (
    header :contains ["X-Spam-Flag"] "Yes"
    ) {
        fileinto "Spam";
  # Stop here so that we do not reply on spams
  stop;
}


Try find default.sieve in your dovecot configuration, in my I have:
sieve_global_path = /var/vmail/sieve/default.sieve


Regards,
Martin

Dne 20.11.2014 v 23:59 Dave Burkholder napsal(a):
Is it possible to have a default sieve rule that moves spam into the Spam folder? It seems like a waste to require every user to manually create their own sieve rule for this. Can that be set as a default preference for every account?

Regards,

Dave

--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to