summaryrefslogtreecommitdiffstats
path: root/pigeonhole/tests/compile/errors/out-address.sieve
blob: 3e39599c8ca2d0c91213b1df885c897a14990ea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
require "vacation";

# Error

redirect "@wrong.example.com";
redirect "error";
redirect "error@";
redirect "Stephan Bosch error@example.org";
redirect "Stephan Bosch <error@example.org";
redirect " more error @  example.com  ";
redirect "@";
redirect "<>";
redirect "Error <";
redirect "Error <stephan";
redirect "Error <stephan@";
redirect "stephan@example.org,tss@example.net";
redirect "stephan@example.org,%&^&!!~";
redirect "rüdiger@example.com";

vacation :from "Error" "Ik ben er niet.";

# Ok

redirect "Ok Good <stephan@example.org>";
redirect "ok@example.com";
redirect " more  @  example.com  ";

redirect ".japanese@example.com";
redirect "japanese.@example.com";
redirect "japanese...localpart@example.com";
redirect "..japanese...localpart..@example.com";

vacation :from "good@voorbeeld.nl.example.com" "Ik ben weg!";