Merge ssh://tahini.csx.cam.ac.uk/home/git/exim
[users/heiko/exim.git] / test / confs / 0501
1 # Exim test configuration 0501
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14 domainlist local_domains = test.ex
15
16 acl_smtp_rcpt = check_rcpt
17
18 trusted_users = CALLER
19
20 # ------ ACLs ------
21
22 begin acl
23
24 check_rcpt:
25   warn   logwrite = 1: $local_part ${if match{$local_part}{[A-Z]}{yes}{no}}
26          control  = caseful_local_part
27          logwrite = 2: $local_part ${if match{$local_part}{[A-Z]}{yes}{no}}
28          control  = caselower_local_part
29          logwrite = 3: $local_part ${if match{$local_part}{[A-Z]}{yes}{no}}
30   accept
31
32 # End