Hello

> Jorge Bastos <[EMAIL PROTECTED]> schrieb:
> >DecimalHi,
> >
> >People, who want to give a little hand for me to start using sieve.
> >I want to move all emails to a folder, for example spam, or delete for a
> >certein account.
> >Who want to provide that? :P

I have such rules in my sieve script
The 1st one checks for "details" (delivering for addresses, such  as 
[EMAIL PROTECTED])
the 2nd checks for flag in header (after spamassassin checks)

require "fileinto";
require "subaddress";
require "envelope";
require "imap4flags";
if envelope :detail :is "to" "spam" {
        fileinto :flags "" "INBOX/SPAM";}
elsif header :is "X-Spam-Flag" "YES" {
        fileinto :flags "" "INBOX/SPAM";}
else {
        fileinto :flags "" "INBOX";}


They are very simple, but work fine ;)
I have other rules, but they are not spam related.

-- 
Oleg Lapshin

Reply via email to