8a85c835debfb5beec47d93dda4ca9039933d427
[users/jgh/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
11 # ----- Main settings -----
12
13 domainlist local_domains = test.ex
14
15 acl_smtp_rcpt = check_rcpt
16
17 trusted_users = CALLER
18
19 # ------ ACLs ------
20
21 begin acl
22
23 check_rcpt:
24   warn   logwrite = 1: $local_part ${if match{$local_part}{[A-Z]}{yes}{no}}
25          control  = caseful_local_part
26          logwrite = 2: $local_part ${if match{$local_part}{[A-Z]}{yes}{no}}
27          control  = caselower_local_part
28          logwrite = 3: $local_part ${if match{$local_part}{[A-Z]}{yes}{no}}
29   accept
30
31 # End