I am ahving problems getting horde ingo to work for me.

When I enable the date range the vacation filter stops working. If I
get rid of the dates is starts working again. Is there any way to
debug the sieve script to see why this is not working.

Below are the scripts with and without the date applied to them

Does not work

  1: # Sieve Filter
  2: # Generated by Ingo (http://www.horde.org/ingo/) (June 18, 2008, 7:39 pm)
  3:
  4: require ["vacation", "regex"];
  5:
  6: # Vacation
  7: if not address :all :comparator "i;ascii-casemap" :is ["From",
"Sender", "Resent-From"] "[EMAIL PROTECTED]"  {
  8:     if  header :regex "Received" "^.*(2008) (\\(.*\\) )?..:..:..
(\\(.*\\) )?(\\+|\\-)....( \\(.*\\))?$" {
  9:     if  header :regex "Received" "^.*(Jun) (\\(.*\\) )?....
(\\(.*\\) )?..:..:.. (\\(.*\\) )?(\\+|\\-)....( \\(.*\\))?$" {
 10:     if  header :regex "Received" "^.*(17|18|19|20) (\\(.*\\)
)?... (\\(.*\\) )?.... (\\(.*\\) )?..:..:.. (\\(.*\\) )?(\\+|\\-)....(
\\(.*\\))?$" {
 11:     vacation :days 1 :addresses "[EMAIL PROTECTED]" :subject "Test
Vacation - Autoreply" "test auto reply";
 12: }
 13: }
 14: }
 15:
 16: }
 17:

Works

  1: # Sieve Filter
  2: # Generated by Ingo (http://www.horde.org/ingo/) (June 18, 2008, 7:41 pm)
  3:
  4: require ["vacation", "regex"];
  5:
  6: # Vacation
  7: if not address :all :comparator "i;ascii-casemap" :is ["From",
"Sender", "Resent-From"] "[EMAIL PROTECTED]"  {
  8:     vacation :days 1 :addresses "[EMAIL PROTECTED]" :subject "Test
Vacation - Autoreply" "test auto reply";
  9: }
 10:


--
Yavor Shahpasov
yavosh.at.gmail.com

"simplicity and flexibility beat optimization and power in a world
where connectivity is key" Adam Bosworth

http://www.flickr.com/photos/yavo/4310154/
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to