ibase lookup: further compile fixes
[exim.git] / test / confs / 1166
1 # Exim test configuration 1166
2 SERVER=
3
4 exim_path = EXIM_PATH
5 keep_environment =
6 add_environment = SSLKEYLOGFILE=DIR/spool/sslkeys
7 host_lookup_order = bydns
8 spool_directory = DIR/spool
9 log_file_path = DIR/spool/log/SERVER%slog
10 gecos_pattern = ""
11 gecos_name = CALLER_NAME
12 chunking_advertise_hosts = *
13 tls_advertise_hosts = *
14 .ifdef _HAVE_PIPE_CONNECT
15 pipelining_connect_advertise_hosts = :
16 .endif
17 .ifdef _HAVE_DMARC
18 dmarc_tld_file =
19 .endif
20 .ifdef _OPT_MAIN_LIMITS_ADVERTISE_HOSTS
21 limits_advertise_hosts = !*
22 .endif
23
24 # ----- Main settings -----
25
26 primary_hostname = testhost.test.ex
27 domainlist local_domains = @ : test.ex
28
29 acl_smtp_rcpt = check_recipient
30 acl_smtp_data = check_data
31 trusted_users = CALLER
32 queue_only
33 smtp_receive_timeout = 2s
34
35 log_selector = +received_recipients +connection_id +millisec
36
37 tls_certificate = DIR/aux-fixed/cert1
38
39 # ----- ACL -----
40
41 begin acl
42
43 check_recipient:
44   drop   condition = ${if eq {SERVER}{server}}
45          message = 550 we really do not like you
46   accept hosts = :
47   accept domains = +local_domains
48   deny   message = relay not permitted
49
50 check_data:
51   warn   message = X-acl-message-linecount: $message_linecount
52   accept
53
54 # ----- Routers -----
55
56 begin routers
57
58 to_server:
59   driver = accept
60   condition =   ${if !eq {SERVER}{server}}
61   transport =   remote_smtp
62   errors_to =   ""
63
64 #fail_remote_domains:
65 #  driver = redirect
66 #  domains = ! +local_domains
67 #  data = :fail: unrouteable mail domain "$domain"
68 #
69 #localuser:
70 #  driver = accept
71 #  check_local_user
72 #  transport = local_delivery
73 #  headers_add = X-local-user: uid=$local_user_uid gid=$local_user_gid
74
75
76 # ----- Transports -----
77
78 begin transports
79
80 #local_delivery:
81 #  driver = appendfile
82 #  delivery_date_add
83 #  envelope_to_add
84 #  file = DIR/test-mail/$local_part
85 #  create_file = DIR/test-mail
86 #  headers_add = "X-body-linecount: $body_linecount\n\
87 #                 X-message-linecount: $message_linecount\n\
88 #                 X-received-count: $received_count"
89 #  return_path_add
90
91 remote_smtp:
92   driver = smtp
93   hosts =       127.0.0.1 : HOSTIPV4
94   port =        PORT_S
95   hosts_try_fastopen = :
96   tls_verify_certificates = DIR/aux-fixed/cert1
97   tls_verify_cert_hostnames =
98   allow_localhost
99   command_timeout = 2s
100   final_timeout = 2s
101
102 # ----- Retry -----
103
104 begin retry
105 * * F,30m,5m;
106 # End