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