Commit | Line | Data |
---|---|---|
afda344b PH |
1 | # Exim test configuration 0501 |
2 | ||
3 | exim_path = EXIM_PATH | |
bc3c7bb7 | 4 | keep_environment = |
afda344b PH |
5 | host_lookup_order = bydns |
6 | primary_hostname = myhost.test.ex | |
afda344b PH |
7 | spool_directory = DIR/spool |
8 | log_file_path = DIR/spool/log/%slog | |
9 | gecos_pattern = "" | |
10 | gecos_name = CALLER_NAME | |
23f3dc67 | 11 | tls_advertise_hosts = |
afda344b PH |
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 |