On 05/11/2015 03:35 PM, Kristian Fiskerstrand wrote:
> 
> Could it be an alternative to move the messages flagged as spam into
> an own folder that isn't forwarded? at least that means it doesn't
> impact operations for those using it locally and the mail is still
> around, if a webmail interface or something was used it could be
> accessed through that for the forwarding users.
> 

Yes, and depending on the sieve implementation, we can make sure the
users (ourselves, in this case) don't override the rule and mess things up.

The first thing to do would be to change the documentation: instead of
using a ~/.forward file to forward your @g.o mail, you would use sieve:

  require ["copy"];
  redirect :copy "where...@example.org";

Then the global sieve file (run first) could do,

  require "fileinto";
  if header :contains "X-Spam-Flag" "YES" {
    fileinto "Junk";
    stop;
  }

which would stop processing, so that the "redirect" above never gets
executed.

Reply via email to