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