[ingo] Sieve rule: move to folder and forward
Jan Schneider
jan at horde.org
Fri Dec 8 04:31:28 PST 2006
Zitat von "Muenz, Michael" <m.muenz at spam-fetish.org>:
> Dear list,
>
> I'm using Horde/Ingo for creating sieve rules and have activated a
> rule for Spamassassin moving mails with "X-Spam-Status: Yes" to
> spamfolder. Also, there's a rule to forward every mail to another
> address. Looks like this:
>
> require ["imapflags", "fileinto"];
>
> # Spam
> if header :comparator "i;octet" :contains "X-Spam-Status" "Yes" {
> addflag "\\Seen";
> fileinto "INBOX/Spam";
> removeflag "\\Seen";
> }
>
> # Forward
> if true {
> redirect "backup at domain.de";
> keep;
> }
>
>
> My problem is, when "keep" is called, also the spam, which should be
> moved to "Spam" goes to my inbox again. But when setting "stop" in
> Spam rule, mails detected as spam which aren't, wont be delivered to
> backup at domain.de.
>
> Any ideas how to solve this?
As already discussed on the Cyrus mailing list, you need to make the
spam rule a "stop" rule or create your own forward rule.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the ingo
mailing list