Sat Feb 25 2012 06:36:45 PM EST from IGnatius T Foobar @ Uncensored Subject: Re: How did I make my sieve filter work again
I wonder if we should simply drop support for Sieve and parse the rulesets as they are.

Hope not drop Sieve, when it works is more powerfull and easy to maintain that have dozens rules. I ignore is with rules we can write filters like this or I need to write many filters just to do it:

I don't know if using filter rules I can include many individual strings for the subjects:

 #! spam_by_subject
 if header :contains "Subject" [
 "mundial" "football", "futbol", "cierran hotmail", "linkedin","Quepasa.com", "URGE ENCONTRARLO", "se perdio en" , "RV: por favor", "SOLO ES UN", "miss you", "this is cool", "Look what i found", "I want to show you" , "...more spam subjects ... ", "Marketing" ] {  discard;  stop;  }

1   if [Subject] [contains] {string1, string2, string3} [Discard silently] [stop]

In the rule #1, I don't know how to separate many subjects in just one rule... it's posible?

Also I don't know how to reproduce in sieve a reject filter with a message :

2   if [From] [is] {spam...@domainxyx.com} [Reject] Message: {bug off!}. [and then] [stop]

Also maybe is posible to create a rule using more than one email or more than a part like:

3   if [From] [is] {spam...@domainxyx.com , another@otherweir.do} [Reject] Message: {bug off!}. [and then] [stop]

4   if [From] [contains] {domainxyxcomotherweir.do , hi5} [Reject] Message: {bug off!}. [and then] [stop]

I know that in sieve I can try this:

 # spammer_by_address
 if header :contains ["From"] [ "clubspam", "superspam", "hi5.com", "direct-promo.net", "onedateinvite", "adobeinfo.com", "bizz", "twitter", "linkedin" ] {  discard;  stop;  }

I need to use sieve, to filter the mails from an external mail account that is retrieved by POP and spamassassin don't works here... really I hope some day discard this external mail but in the mean time sieve is the only that can help to now, just  1% are important mails that I can't afford to loose the other 99% is just trash, and is really hard to sort out the cr*p without sieve or without a more powerfull filter system (that I don't know if exist or how to use).

Thanks for your pacience, forgive me if I do wrong for write here instead of support.

Reply via email to