Commit | Line | Data |
---|---|---|
ed65a028 | 1 | # Exim test configuration 3416 |
fcc8e047 JH |
2 | # Recipient callout with AUTH |
3 | ||
d4dc049f JH |
4 | .include DIR/aux-var/std_conf_prefix |
5 | ||
fcc8e047 | 6 | primary_hostname = myhost.test.ex |
fcc8e047 JH |
7 | |
8 | # ----- Main settings ----- | |
9 | ||
10 | acl_smtp_rcpt = check_rcpt | |
11 | ||
12 | queue_only | |
13 | ||
14 | ||
15 | # ----- Authentication ----- | |
16 | ||
17 | begin authenticators | |
18 | ||
19 | plain: | |
20 | driver = plaintext | |
21 | public_name = PLAIN | |
22 | client_send = ^userx^secret | |
23 | server_advertise_condition = yes | |
24 | server_prompts = : | |
25 | server_condition = yes | |
26 | server_set_id = $auth2 | |
27 | ||
28 | ||
29 | # ----- ACLs ----- | |
30 | ||
31 | begin acl | |
32 | ||
33 | check_rcpt: | |
34 | accept verify = recipient/callout | |
35 | ||
36 | ||
37 | # ----- Routers ----- | |
38 | ||
39 | begin routers | |
40 | ||
41 | r1: | |
42 | driver = accept | |
43 | transport = ${if eq{force}{$domain} {t2}{t1}} | |
44 | ||
45 | ||
46 | # ----- Transports ----- | |
47 | ||
48 | begin transports | |
49 | ||
50 | t1: | |
51 | driver = smtp | |
52 | hosts = 127.0.0.1 | |
53 | port = PORT_S | |
54 | allow_localhost | |
55 | hosts_try_auth = * | |
56 | ||
57 | t2: | |
58 | driver = smtp | |
59 | hosts = 127.0.0.1 | |
60 | port = PORT_S | |
61 | allow_localhost | |
62 | hosts_try_auth = * | |
63 | authenticated_sender= brian | |
64 | ||
65 | # End |