1 # Exim test configuration 0536
3 FORBID_SMTP_CODE = false
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 rfc1413_query_timeout = 0s
9 spool_directory = DIR/spool
10 log_file_path = DIR/spool/log/%slog
12 gecos_name = CALLER_NAME
14 # ----- Main settings -----
17 acl_not_smtp = not_smtp
19 trusted_users = CALLER
27 deny local_parts = user1
29 deny local_parts = user2
30 message = 599 Main code
31 deny local_parts = user3
32 message = 599 Main code\non two lines
33 deny local_parts = user4
34 message = 599 5.2.3 Main and extended code
35 deny local_parts = user5
36 message = 599 5.12.3 Main and extended code\non two lines
37 deny local_parts = user6
38 message = 299 Wrong code
39 deny local_parts = user7
40 message = 299 Wrong code
41 log_message = A different log message
43 defer local_parts = user8
44 message = 499 4.12.343 Main and extended code\non two lines
45 defer local_parts = user9
46 message = 499 4.1234.343 Main and extended code\non two lines
47 defer local_parts = user10
48 message = 399 Wrong code
50 deny local_parts = user20
52 deny local_parts = user21
54 deny local_parts = user22
56 deny local_parts = user23
59 deny local_parts = user30
61 deny local_parts = user31
63 deny local_parts = user32
65 deny local_parts = user33
68 deny message = Should not get this
71 accept senders = : oksender@test.ex
73 deny senders = user1@test.ex
76 deny senders = user2@test.ex
77 message = 599 Main code
79 deny message = Should not get this
89 data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
90 forbid_smtp_code = FORBID_SMTP_CODE
96 # ----- Transports -----
102 file = DIR/test-mail/$local_part