1 # Exim test configuration 0536
3 FORBID_SMTP_CODE = false
5 .include DIR/aux-var/std_conf_prefix
7 primary_hostname = myhost.test.ex
9 # ----- Main settings -----
12 acl_not_smtp = not_smtp
14 trusted_users = CALLER
22 deny local_parts = user1
24 deny local_parts = user2
25 message = 599 Main code
26 deny local_parts = user3
27 message = 599 Main code\non two lines
28 deny local_parts = user4
29 message = 599 5.2.3 Main and extended code
30 deny local_parts = user5
31 message = 599 5.12.3 Main and extended code\non two lines
32 deny local_parts = user6
33 message = 299 Wrong code
34 deny local_parts = user7
35 message = 299 Wrong code
36 log_message = A different log message
38 defer local_parts = user8
39 message = 499 4.12.343 Main and extended code\non two lines
40 defer local_parts = user9
41 message = 499 4.1234.343 Main and extended code\non two lines
42 defer local_parts = user10
43 message = 399 Wrong code
45 deny local_parts = user20
47 deny local_parts = user21
49 deny local_parts = user22
51 deny local_parts = user23
54 deny local_parts = user30
56 deny local_parts = user31
58 deny local_parts = user32
60 deny local_parts = user33
63 deny message = Should not get this
66 accept senders = : oksender@test.ex
68 deny senders = user1@test.ex
71 deny senders = user2@test.ex
72 message = 599 Main code
74 deny message = Should not get this
84 data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
85 forbid_smtp_code = FORBID_SMTP_CODE
91 # ----- Transports -----
97 file = DIR/test-mail/$local_part
98 create_file = DIR/test-mail