5e18c7f73f579ebe4b3c9ae52d9620c78a7b5e40
[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 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10 tls_advertise_hosts =
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