Lookups: Do not escape percent or underbar in the ${quote_pgsql: } operator. Bug...
[users/jgh/exim.git] / test / confs / 0230
1 # Exim test configuration 0230
2
3 SERVER=
4
5 exim_path = EXIM_PATH
6 host_lookup_order = bydns
7 primary_hostname = myhost.test.ex
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/SERVER%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12
13 # ----- Main settings -----
14
15 domainlist local_domains = test.ex : *.test.ex
16 acl_smtp_rcpt = check_recipient
17 log_selector =  \
18               +incoming_port \
19               +incoming_interface \
20               +smtp_connection
21 queue_only
22 queue_run_in_order
23
24
25 # ----- ACL -----
26
27 begin acl
28
29 check_recipient:
30   accept  hosts = :
31   accept  domains = +local_domains
32   deny    message = relay not permitted
33
34
35 # ----- Routers -----
36
37 begin routers
38
39 .ifdef RT
40 to_server:
41   driver = manualroute
42   transport = remote
43   route_list = * 127.0.0.1
44   self = send
45 .endif
46
47 fail_remote_domains:
48   driver = redirect
49   domains = ! +local_domains
50   data = :fail: unrouteable mail domain "$domain"
51
52 server:
53   driver = accept
54   retry_use_local_part
55   transport = local_delivery
56
57
58 # ----- Transports -----
59
60 begin transports
61
62 local_delivery:
63   driver = appendfile
64   file = DIR/test-mail/$local_part
65   headers_add = Port: $sender_host_port
66   user = CALLER
67
68 remote:
69   driver = smtp
70   port = PORT_D
71
72 # ----- Retry -----
73
74 begin retry
75
76 * * F,5d,10s
77
78 # End