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