Disable identd (rfc1413) lookups by default
[exim.git] / test / confs / 0227
1 # Exim test configuration 0227
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 domainlist local_domains = test.ex
14
15 acl_smtp_rcpt = check_recipient
16 acl_smtp_data = check_data
17
18
19 # ----- ACL -----
20
21 begin acl
22
23 check_recipient:
24 warn senders = ^uncheckable2@
25 control = no_multiline_responses
26 accept hosts = V4NET.0.0.4
27 deny hosts = V4NET.0.0.1
28 !verify = sender/callout=no_cache
29 deny hosts = V4NET.0.0.3
30 !verify = recipient/callout=no_cache
31 deny hosts = V4NET.0.0.5
32 !verify = sender/callout=no_cache/check_postmaster
33 require verify = sender
34 accept domains = +local_domains
35 deny message = relay not permitted
36
37 check_data:
38 deny hosts = V4NET.0.0.4
39 !verify = header_sender/callout=no_cache
40 accept
41
42
43 # ----- Routers -----
44
45 begin routers
46
47 mxt3:
48 driver = dnslookup
49 domains = mxt3.test.ex
50 self = send
51 transport = smtp
52
53 localhost1:
54 driver = manualroute
55 domains = localhost1
56 route_list = * 127.0.0.1 byname
57 self = send
58 transport = smtp
59 no_more
60
61 lmtp:
62 driver = manualroute
63 domains = remote.lmtp
64 route_list = * 127.0.0.1
65 transport = lmtp
66 self = send
67
68 all:
69 driver = manualroute
70 domains = ! +local_domains
71 route_list = * "127.0.0.1 : HOSTIPV4" byname
72 self = send
73 transport = smtp
74 no_more
75
76
77 # ----- Transports -----
78
79 begin transports
80
81 smtp:
82 driver = smtp
83 port = PORT_S
84
85 lmtp:
86 driver = smtp
87 port = PORT_S
88 protocol = lmtp
89
90
91 # ----- Retry -----
92
93 begin retry
94
95 * * F,5d,10s
96
97
98 # End