[ingo] vacation not working

Jan Schneider jan at horde.org
Thu Jul 19 09:40:11 UTC 2018


Zitat von Rudolf Gabler <rug at usm.lmu.de>:

> In horde groupware 5.2.22 an attempt to install a vacation filter fails:
>
> Script not updated: There was an error activating the script. The  
> driver said: line 147: bad argument at offset 0 line 148: bad  
> argument at offset 0 line 149: bad argument at offset 0 line 150:  
> bad argument at offset 0 line 151: bad argument at offset 0
>
> the corresponing lines are:
>
> 145: # Vacation
>     146: if allof ( not exists "list-help", not exists  
> "list-unsubscribe", not exists "list-subscribe", not exists  
> "list-owner", not exists "list-post", not exists "list-archive", not  
> exists "list-id", not exists "Mailing-List", not header :comparator  
> "i;ascii-casemap" :is "Precedence" ["list", "bulk", "junk"], not  
> header :comparator "i;ascii-casemap" :matches "To" "Multiple  
> recipients of*" ) {
>     147:     if header :regex "Received" "^.*(2018) (\\(.*\\)  
> )?..:..:.. (\\(.*\\) )?((\\+|\\-)[[:digit:]]{4}|.{1,5})(  
> \\(.*\\))?$" {
>     148:         if anyof ( allof ( header :regex "Received"  
> "^.*(Aug) (\\(.*\\) )?.... (\\(.*\\) )?..:..:.. (\\(.*\\)  
> )?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$",
>     149:                            header :regex "Received"  
> "^.*(15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31) (\\(.*\\)  
> )?... (\\(.*\\) )?.... (\\(.*\\) )?..:..:.. (\\(.*\\)  
> )?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$" ),
>     150:                    allof ( header :regex "Received"  
> "^.*(Sep) (\\(.*\\) )?.... (\\(.*\\) )?..:..:.. (\\(.*\\)  
> )?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$",
>     151:                            header :regex "Received" "^.*([0  
> ]1|[0 ]2|[0 ]3|[0 ]4|[0 ]5|[0 ]6|[0 ]7|[0 ]8|[0 ]9) (\\(.*\\) )?...  
> (\\(.*\\) )?.... (\\(.*\\) )?..:..:.. (\\(.*\\)  
> )?((\\+|\\-)[[:digit:]]{4}|.{1,5})( \\(.*\\))?$" ) ) {
>     152:             vacation :days 7 :addresses ["rug at usm.lmu.de",  
> "rug at usm.uni-muenchen.de"] :subject "vacation" "I'm out of office  
> until 11.9. (vacation).
>     153: In urgent cases please ask Tadziu:
>     154: tadziu at usm.lmu.de for help.
>     155:
>     156: Rudi";
>     157:         }
>     158:     }
>     159: }

What's your sieve backend, and does it support the regex extension?

-- 
Jan Schneider
The Horde Project
https://www.horde.org/



More information about the ingo mailing list