Build: check during make for perl script library requirements
[exim.git] / test / confs / 3825
1 # Exim test configuration 3825
2
3 SERVER=
4
5 .include DIR/aux-var/std_conf_prefix
6
7 primary_hostname = myhost.test.ex
8
9 # ----- Main settings -----
10
11 acl_smtp_rcpt = accept
12 queue_only
13
14
15 begin routers
16
17 client_r:
18   driver =      accept
19   condition =   ${if !eq {SERVER}{server}}
20   transport =   smtp
21
22 begin transports
23
24 smtp:
25   driver =      smtp
26   hosts =       127.0.0.1
27   allow_localhost
28   port =        PORT_D
29   hosts_require_auth = *
30
31 # ----- Authentication -----
32
33 begin authenticators
34
35 .ifndef OPT
36 sasl1:
37   driver =              plaintext
38   public_name =         PLAIN
39   server_prompts =      :
40   server_condition =    ${if and {{eq{$auth2}{ph10}}{eq{$auth3}{mysecret}}}}
41   server_set_id =       $auth2
42
43 sasl2:
44   driver =              gsasl
45   public_name =         PLAIN
46   client_condition =    ${if eq {plain}{$local_part}}
47   client_username =     ph10
48   client_password =     mysecret
49
50 .else
51 sasl3:
52   driver =              gsasl
53   public_name =         PLAIN
54   server_condition =    ${if and {{eq{$auth1}{ph10}}{eq{$auth3}{mysecret}}}}
55   server_set_id =       $auth1
56
57 sasl4:
58   driver =              plaintext
59   public_name =         PLAIN
60   client_condition =    ${if eq {plain}{$local_part}}
61   client_send =         ^ph10^mysecret
62
63 .endif
64
65
66 # End