| 1 | # Exim test configuration 0501 |
| 2 | |
| 3 | .include DIR/aux-var/std_conf_prefix |
| 4 | |
| 5 | primary_hostname = myhost.test.ex |
| 6 | |
| 7 | # ----- Main settings ----- |
| 8 | |
| 9 | domainlist local_domains = test.ex |
| 10 | |
| 11 | acl_smtp_rcpt = check_rcpt |
| 12 | |
| 13 | trusted_users = CALLER |
| 14 | |
| 15 | # ------ ACLs ------ |
| 16 | |
| 17 | begin acl |
| 18 | |
| 19 | check_rcpt: |
| 20 | warn logwrite = 1: $local_part ${if match{$local_part}{[A-Z]}{yes}{no}} |
| 21 | control = caseful_local_part |
| 22 | logwrite = 2: $local_part ${if match{$local_part}{[A-Z]}{yes}{no}} |
| 23 | control = caselower_local_part |
| 24 | logwrite = 3: $local_part ${if match{$local_part}{[A-Z]}{yes}{no}} |
| 25 | accept |
| 26 | |
| 27 | # End |