1 # Exim test configuration 0536
3 FORBID_SMTP_CODE = false
7 host_lookup_order = bydns
8 primary_hostname = myhost.test.ex
9 rfc1413_query_timeout = 0s
10 spool_directory = DIR/spool
11 log_file_path = DIR/spool/log/%slog
13 gecos_name = CALLER_NAME
15 # ----- Main settings -----
18 acl_not_smtp = not_smtp
20 trusted_users = CALLER
28 deny local_parts = user1
30 deny local_parts = user2
31 message = 599 Main code
32 deny local_parts = user3
33 message = 599 Main code\non two lines
34 deny local_parts = user4
35 message = 599 5.2.3 Main and extended code
36 deny local_parts = user5
37 message = 599 5.12.3 Main and extended code\non two lines
38 deny local_parts = user6
39 message = 299 Wrong code
40 deny local_parts = user7
41 message = 299 Wrong code
42 log_message = A different log message
44 defer local_parts = user8
45 message = 499 4.12.343 Main and extended code\non two lines
46 defer local_parts = user9
47 message = 499 4.1234.343 Main and extended code\non two lines
48 defer local_parts = user10
49 message = 399 Wrong code
51 deny local_parts = user20
53 deny local_parts = user21
55 deny local_parts = user22
57 deny local_parts = user23
60 deny local_parts = user30
62 deny local_parts = user31
64 deny local_parts = user32
66 deny local_parts = user33
69 deny message = Should not get this
72 accept senders = : oksender@test.ex
74 deny senders = user1@test.ex
77 deny senders = user2@test.ex
78 message = 599 Main code
80 deny message = Should not get this
90 data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
91 forbid_smtp_code = FORBID_SMTP_CODE
97 # ----- Transports -----
103 file = DIR/test-mail/$local_part