Magnus' patch for $sending_ip_address and $sending_port.
[exim.git] / test / confs / 0550
1 # Exim test configuration 0550
2
3 exim_path = EXIM_PATH
4 host_lookup_order = bydns
5 primary_hostname = myhost.test.ex
6 rfc1413_query_timeout = 0s
7 spool_directory = DIR/spool
8 log_file_path = DIR/spool/log/%slog
9 gecos_pattern = ""
10 gecos_name = CALLER_NAME
11
12 # ----- Main settings -----
13
14
15 # ----- Routers -----
16
17 begin routers
18
19 r1:
20   driver = accept
21   transport = t1
22
23
24 # ----- Transports -----
25
26 begin transports
27
28 t1:
29   driver = smtp
30   hosts = 127.0.0.1 : HOSTIPV4
31   port = PORT_S
32   allow_localhost
33   helo_data = \
34     ${if eq{$sending_ip_address}{127.0.0.1}{Tweedledum}{Tweedledee}} \
35     to $host [$host_address]
36
37
38 # ------ Retry ------
39
40 begin retry
41
42 * * F,1d,1d
43
44 # End