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