recipient verify callout
[users/jgh/exim.git] / test / confs / 0101
1 # Exim test configuration 0101
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 spool_directory = DIR/spool
6 log_file_path = DIR/spool/log/%slog
7 gecos_pattern = ""
8 gecos_name = CALLER_NAME
9
10 # ----- Main settings -----
11
12 domainlist local_domains = test.ex
13
14 qualify_domain = test.ex
15
16
17 # ----- Routers -----
18
19 begin routers
20
21 all:
22   driver = manualroute
23   domains = ! +local_domains
24   route_list = * 127.0.0.1 byname
25   self = send
26   transport = smtp
27   no_more
28
29 mmdf_localuser:
30   driver = accept
31   local_part_prefix = mmdf-
32   transport = mmdf_local_delivery
33
34 filtered_localuser:
35   driver = accept
36   local_part_prefix = filter-
37   transport = filtered_local_delivery
38
39 bsmtp_localuser:
40   driver = accept
41   local_parts = userz
42   transport = bsmtp_local_delivery
43
44 localuser:
45   driver = accept
46   local_parts = userx
47   transport = local_delivery
48
49
50 # ----- Transports -----
51
52 begin transports
53
54 smtp:
55   driver = smtp
56   port = PORT_S
57
58 local_delivery:
59   driver = pipe
60   check_string = "From "
61   command = /bin/sh -c 'cat >>DIR/test-mail/$local_part'
62   escape_string = ">From "
63   user = CALLER
64   current_directory = /
65
66 bsmtp_local_delivery:
67   driver = pipe
68   use_bsmtp
69   command = /bin/sh -c 'cat >>DIR/test-mail/$local_part'
70   delivery_date_add
71   envelope_to_add
72   return_path_add
73   user = CALLER
74   current_directory = /
75
76 filtered_local_delivery:
77   driver = pipe
78   command = /bin/sh -c 'cat >>DIR/test-mail/$local_part'
79   delivery_date_add
80   envelope_to_add
81   return_path_add
82   transport_filter = /bin/sh -c "echo 'X-Filtered: just checking'; cat"
83   user = CALLER
84   current_directory = /
85
86 mmdf_local_delivery:
87   driver = pipe
88   check_string = "\1\1\1\1\n"
89   command = /bin/sh -c 'cat >>DIR/test-mail/$local_part'
90   escape_string = "\1\1\1\1 \n"
91   message_prefix = "\1\1\1\1\n"
92   message_suffix = "\1\1\1\1\n"
93   user = CALLER
94   current_directory = /
95
96 # End