[ingo] Fwd: Re: Ingo and notifications.
Josef Karliak
karliak at ajetaci.cz
Thu May 13 05:26:22 UTC 2010
Yeah, seems to be now for another list, I thought so. It was just
for info, for the future :)
Thanks guys for your time.
J.K.
Cituji Jan Schneider <jan at horde.org>:
> Zitat von Josef Karliak <karliak at ajetaci.cz>:
>
>> Hi,
>> btw "sivtest -v localhost -u cyrus -a cyrus" command has this output :
>>
>> S: "IMPLEMENTATION" "Cyrus timsieved v2.3.14"
>> S: "SASL" "LOGIN PLAIN"
>> S: "SIEVE" "comparator-i;ascii-numeric fileinto reject vacation
>> imapflags notify envelope relational regex subaddress copy"
>> S: "STARTTLS"
>> S: OK
>> C: AUTHENTICATE "LOGIN"
>> S: {12}
>> S: VXNlcm5hbWU6
>> Please enter your password:
>> C: {8+}
>> C: Y3lydXM=
>> S: {12}
>> S: UGFzc3dvcmQ6
>> C: {8+}
>> C: emltYTA0
>> S: OK
>> Authenticated.
>> Security strength factor: 0
>>
>> Script:
>>
>> 1: # Sieve Filter
>> 2: # Generated by Ingo (http://www.horde.org/ingo/) (12.5.2010, 22:02)
>> 3:
>> 4: require ["fileinto", "imapflags", "notify"];
>> 5:
>> 6: # Spam Filter
>> 7: if header :comparator "i;ascii-casemap" :contains
>> "X-Spam-Level" "********" {
>> 8: fileinto "INBOX.spam";
>> 9: stop;
>> 10: }
>> 11:
>> 12: # vbms
>> 13: if header :comparator "i;ascii-casemap" :contains "Subject"
>> "This mail is generated by VBMS" {
>> 14: addflag "\\Seen";
>> 15: fileinto "INBOX.vbms";
>> 16: removeflag "\\Seen";
>> 17: stop;
>> 18: }
>> 19:
>> 20: # horde
>> 21: if anyof ( address :all :comparator "i;ascii-casemap" :contains
>> "From" "@lists.horde.org", address :all :comparator
>> "i;ascii-casemap" :contains "To" "@lists.horde.org" ) {
>> 22: fileinto "INBOX.horde";
>> 23: stop;
>> 24: }
>> 25:
>> 26: # squid
>> 27: if header :comparator "i;ascii-casemap" :contains "Subject"
>> "[squid-users] " {
>> 28: fileinto "INBOX.squid";
>> 29: stop;
>> 30: }
>> 31:
>> 32: # test fn
>> 33: if address :all :comparator "i;ascii-casemap" :contains "From"
>> "@fnhk.cz" {
>> 34: notify :method "mailto" :options
>> "josef.karliak at vodafonemail.cz" :message "You have received a new
>> message
>> 35: From: $from$
>> 36: Subject: $subject$
>> 37: Rule: test fn";
>> 38: stop;
>> 39: }
>> 40:
>> 41: # apcupsd
>> 42: if address :all :comparator "i;ascii-casemap" :contains "To"
>> "apcupsd-users at lists.sourceforge.net" {
>> 43: fileinto "INBOX.konference_apcupsd";
>> 44: stop;
>> 45: }
>> 46:
>>
>>
>> So where is the damn bug ??? :-/
>
> Not in Ingo, you should take it to the cyrus mailing list.
>
> Jan.
>
> --
> Do you need professional PHP or Horde consulting?
> http://horde.org/consulting/
>
> --
> Ingo mailing list - Join the hunt: http://horde.org/bounties/#ingo
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: ingo-unsubscribe at lists.horde.org
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the ingo
mailing list