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