Testsuite: random number used for DSN MIME boundary can have few digits
[users/jgh/exim.git] / test / confs / 0486
1 # Exim test configuration 0486
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 spool_directory = DIR/spool
7 log_file_path = DIR/spool/log/%slog
8 gecos_pattern = ""
9 gecos_name = CALLER_NAME
10
11 # ----- Main settings -----
12
13 acl_smtp_mail = acl_check_mail
14 acl_smtp_rcpt = acl_check_rcpt
15 acl_smtp_data = acl_check_data
16 queue_only
17 trusted_users = CALLER
18
19
20 # ----- ACLs -----
21
22 begin acl
23
24 acl_check_mail:
25   warn     logwrite = at MAIL (1): >$sender_address<
26   require  verify   = sender
27   warn     logwrite = at MAIL (2): >$sender_address<
28   accept
29
30 acl_check_rcpt:
31   warn     logwrite = at RCPT (1): >$sender_address<
32   warn     logwrite = at RCPT (2): >$local_part<
33   require  verify   = recipient
34   warn     logwrite = at RCPT (3): >$local_part<
35   accept
36
37 acl_check_data:
38   warn     logwrite = at DATA (1): >$sender_address<
39   warn     logwrite = at DATA (2): >$recipients<
40   warn     logwrite = at DATA (3): >From: $h_from:<
41   warn     logwrite = at DATA (3): >To: $h_to:<
42   accept
43
44
45 #----- Rewrite -----
46
47 begin rewrite
48 ^<(smtp.*)   <SW-$1                         S
49 *@*          RW-$local_part@domain
50
51
52 # ----- Routers -----
53
54 begin routers
55
56 r1:
57   driver = accept
58   transport = t1
59
60
61 # ----- Transports -----
62
63 begin transports
64
65 t1:
66   driver = appendfile
67   file = /dev/null
68   user = CALLER
69
70
71 # End