Testsuite: Explicit disabling of identd no longer needed
[exim.git] / test / confs / 2009
CommitLineData
afda344b
PH
1# Exim test configuration 2009
2
3SERVER =
4
5exim_path = EXIM_PATH
6host_lookup_order = bydns
7primary_hostname = myhost.test.ex
afda344b
PH
8spool_directory = DIR/spool
9log_file_path = DIR/spool/log/SERVER%slog
10gecos_pattern = ""
11gecos_name = CALLER_NAME
12
13# ----- Main settings -----
14
15acl_smtp_rcpt = check_recipient
16hostlist tls_hosts = 127.0.0.1
17
18queue_only
19queue_run_in_order
20
21tls_advertise_hosts = *
22
23# Set certificate only if server
24
25tls_certificate = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
26tls_privatekey = ${if eq {SERVER}{server}{DIR/aux-fixed/cert1}fail}
27
28
29
30# ----- ACL -----
31
32begin acl
33
34check_recipient:
35 deny hosts = +tls_hosts
36 message = encryption required
37 !encrypted = *
38 accept domains = +local_domains
39 deny message = relay not permitted
40
41
42# ----- Routers -----
43
44begin routers
45
46client:
47 driver = accept
48 condition = ${if eq {SERVER}{server}{no}{yes}}
49 retry_use_local_part
50 transport = send_to_server
51
52
53# ----- Transports -----
54
55begin transports
56
57send_to_server:
58 driver = smtp
59 allow_localhost
60 hosts = 127.0.0.1
61 hosts_avoid_tls = 127.0.0.1
62 port = PORT_D
63
64# End