[ingo] Fwd: Re: Ingo and notifications.

Jan Schneider jan at horde.org
Wed May 12 20:10:06 UTC 2010


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/



More information about the ingo mailing list