Commit | Line | Data |
---|---|---|
26da7e20 PH |
1 | # Exim test configuration 0540 |
2 | ||
d4dc049f JH |
3 | .include DIR/aux-var/std_conf_prefix |
4 | ||
26da7e20 | 5 | primary_hostname = myhost.test.ex |
26da7e20 PH |
6 | |
7 | # ----- Main settings ----- | |
8 | ||
9 | acl_smtp_rcpt = check_rcpt | |
10 | ||
11 | queue_only | |
12 | ||
13 | ||
14 | # ----- ACLs ----- | |
15 | ||
16 | begin acl | |
17 | ||
18 | check_rcpt: | |
19 | accept verify = recipient/callout | |
20 | ||
21 | ||
22 | # ----- Routers ----- | |
23 | ||
24 | begin routers | |
25 | ||
26 | r1: | |
27 | driver = accept | |
28 | transport = ${if match {$domain}{^yes}{t1}{t2}} | |
29 | ||
30 | ||
31 | # ----- Transports ----- | |
32 | ||
33 | begin transports | |
34 | ||
35 | t1: | |
36 | driver = smtp | |
37 | hosts = 127.0.0.1 | |
38 | port = PORT_S | |
39 | allow_localhost | |
40 | helo_data = ${if eq{$domain}{yes1}{localhost}{aname}} | |
41 | ||
42 | t2: | |
43 | driver = smtp | |
44 | hosts = 127.0.0.1 | |
45 | port = PORT_S | |
46 | allow_localhost | |
47 | ||
48 | # End |