diff --git a/sieve/errors/interesting.sieve b/sieve/errors/interesting.sieve index 84ee424bf66a75026377ab231d80b9bd78fa3e65..2dd1f35f335eb1cda68ac0199666b9a030fd876d 100644 --- a/sieve/errors/interesting.sieve +++ b/sieve/errors/interesting.sieve @@ -3,6 +3,8 @@ require ["copy", "relational"]; require "envelope"; require "regex"; +va + if header :is "To" "Stephan \"Nico\" Bosch <nico@voorbeeld.nl>" { fileinto "INBOX.stephan"; } elsif header :matches "To" "*@voorbeeld.nl" { diff --git a/src/lib-sieve/sieve-parser.c b/src/lib-sieve/sieve-parser.c index e28b0a46762ff3e8eda7d58605a48779484c99dd..48565392a191ff51540b9625cd782c049ad292d9 100644 --- a/src/lib-sieve/sieve-parser.c +++ b/src/lib-sieve/sieve-parser.c @@ -395,7 +395,7 @@ bool sieve_parser_run if ( sieve_parse_commands(parser, sieve_ast_root(parser->ast)) ) { if ( sieve_lexer_current_token(parser->lexer) != STT_EOF ) { sieve_parser_error(parser, - "unexpected token %s found at (the presumed) end of file", + "unexpected %s found at (the presumed) end of file", sieve_lexer_token_string(parser->lexer)); parser->ast = NULL;