Testsuite: fix testcases for /etc/services not having smtps
[users/heiko/exim.git] / test / confs / 0485
1 # Exim test configuration 0485
2
3 .include DIR/aux-var/std_conf_prefix
4
5 primary_hostname = myhost.test.ex
6
7 # ----- Main settings -----
8
9 hostlist  ahosts = net-lsearch;DIR/aux-fixed/TESTNUM.data
10 hostlist  bhosts = net-lsearch;DIR/aux-fixed/TESTNUM.data2
11
12 acl_smtp_helo = acl_check_helo
13 acl_smtp_mail = acl_check_mail
14 acl_smtp_rcpt = acl_check_rcpt
15 trusted_users = CALLER
16
17
18 # ----- ACLs -----
19
20 begin acl
21
22 acl_check_helo:
23   warn   hosts    = +ahosts
24          logwrite = at HELO: >$host_data<
25   accept
26
27 acl_check_mail:
28   warn   logwrite = at MAIL: >$host_data<
29   warn   senders  = third@non-null
30          logwrite = other lookup at MAIL: ${lookup{xyz}lsearch{DIR/aux-fixed/TESTNUM.data3}}
31   warn  !senders  = :
32          hosts    = +bhosts
33          logwrite = at MAIL (non-null): >$host_data<
34   accept
35
36 acl_check_rcpt:
37   warn   logwrite = at RCPT: >$host_data<
38   warn   logwrite = Expansions: $qualify_domain, $local_part@$domain
39   accept
40
41
42 # ----- Routers -----
43
44 begin routers
45
46 r1:
47   driver = accept
48   transport = t1
49
50
51 # ----- Transports -----
52
53 begin transports
54
55 t1:
56   driver = appendfile
57   file = DIR/test-mail/$local_part
58   user = CALLER
59
60 # End