1 # Exim test configuration 0428
3 .include DIR/aux-var/std_conf_prefix
6 # ----- Main settings -----
8 primary_hostname = mail.test.ex
9 qualify_domain = test.ex
10 trusted_users = CALLER
23 local_parts = redirected
27 data = "#Sieve filter\n keep;"
31 local_parts = ^restrict-
35 data = "#Sieve filter\n$h_filter:"
43 data = #Sieve filter\n \
44 require["fileinto","comparator-i;ascii-numeric"]; \
45 if header :comparator "i;ascii-numeric" "X-Sieve" "99" { \
46 fileinto "inbox.JUNK"; \
57 data = #Sieve filter\n \
58 require["fileinto","comparator-i;ascii-numeric"]; \
59 if header :comparator "i;ascii-numeric" "X-Sieve" "98" { \
60 fileinto "inbox.JUNK"; \
71 data = #Sieve filter\n \
72 require["fileinto","comparator-i;ascii-numeric"]; \
73 if header :comparator "i;ascii-numeric" "X-Sieve" "99" { \
74 fileinto "inbox.JUNK"; \
85 data = #Sieve filter\n \
86 require["fileinto","comparator-i;ascii-numeric"]; \
87 if header :comparator "i;ascii-numeric" "X-Sieve" "-99" { \
88 fileinto "inbox.JUNK"; \
99 data = #Sieve filter\n \
100 require["fileinto","comparator-i;ascii-numeric"]; \
101 if header :comparator "i;ascii-numeric" "X-Sieve" "-98" { \
102 fileinto "inbox.JUNK"; \
111 local_parts = userx13 : someone13
113 data = #Sieve filter\n \
114 require ["vacation"]; \
115 vacation "I am gone. Not here.";
119 sieve_vacation_directory = DIR/test-vacation-directory
123 local_parts = userx14
124 local_part_suffix = -*
125 local_part_suffix_optional
127 data = #Sieve filter\n \
128 require ["envelope","fileinto"]; \
129 if envelope :matches :localpart "to" "*-suffix" { \
130 fileinto "userx-sawsuffix"; \
141 data = "#Sieve filter\n$h_filter:"
147 # ----- Transports -----
153 file = ${if eq{$address_file}{inbox} \
154 {DIR/test-mail/$local_part} \
155 {${if eq{${substr_0_1:$address_file}}{/} \
157 {DIR/test-mail/$address_file} \
160 create_file = DIR/test-mail
168 file = DIR/test-mail/$local_part
169 create_file = DIR/test-mail