Testsuite: find a group name if 'mail' is not available.
[exim.git] / test / confs / 0001
CommitLineData
afda344b
PH
1# Exim test configuration 0001
2
3# This configuration sets every option that is not dependent on optional code
4# in the binary, except for exim_user and exim_group, because setting them can
5# mess up the creation of the spool directory etc.
6
7exim_path = EXIM_PATH
bc3c7bb7 8keep_environment =
afda344b 9host_lookup_order = bydns
afda344b
PH
10spool_directory = DIR/spool
11log_file_path = DIR/spool/log/%slog
12gecos_pattern = ""
13gecos_name = CALLER_NAME
14
15
9cbad13b 16no_accept_8bitmime
afda344b
PH
17acl_not_smtp = check_local_message
18acl_smtp_auth = check_auth
19acl_smtp_connect = check_connect
20acl_smtp_data = check_message
21acl_smtp_etrn = check_etrn
22acl_smtp_expn = check_expn
23acl_smtp_helo = check_helo
24acl_smtp_mail = check_mail
25acl_smtp_mailauth = check_mailauth
26acl_smtp_quit = check_quit
27acl_smtp_predata = check_predata
28acl_smtp_rcpt = check_recipient
29acl_smtp_vrfy = check_vrfy
30admin_groups = 1234
31allow_mx_to_ip
32allow_utf8_domains
33auth_advertise_hosts = a.a.h
34auto_thaw = 1d
35bi_command =
36bounce_message_file =
37bounce_message_text =
38bounce_return_body = false
39no_bounce_return_message
40return_size_limit = 12K
41bounce_return_size_limit = 10K
4dce3152 42bounce_return_linesize_limit = 997
afda344b
PH
43callout_domain_negative_expire = 1h
44callout_domain_positive_expire = 1d
45callout_negative_expire = 5h
46callout_positive_expire = 1w
47callout_random_local_part = xxx\
48 xx
49check_log_inodes = 0
50check_log_space = 0
51check_spool_inodes = 0
52check_spool_space = 0
53daemon_smtp_port =
54daemon_smtp_ports =
55daemon_startup_retries = 3
56daemon_startup_sleep = 8s
57delay_warning = 1d
58delay_warning_condition = ${if match{$h_precedence:}{(?i)bulk|list}{no}{yes}}
59deliver_drop_privilege
60deliver_queue_load_max = 6.2
61delivery_date_remove
62dns_again_means_nonexist = *.esri.com:jeni.com
63dns_check_names_pattern = ^.*$
64dns_ipv4_lookup = *
65dns_retrans = 0s
66dns_retry = 0
67drop_cr
68envelope_to_remove
69errors_copy =
70errors_reply_to = postmaster@cam.ac.uk
71extra_local_interfaces = 1.2.3.4
72no_extract_addresses_remove_arguments
73finduser_retries = 0
74allow_domain_literals
75freeze_tell = postmaster
76headers_charset = UTF-8
77header_maxsize = 2M
78header_line_maxsize = 2K
79helo_accept_junk_hosts =
80helo_allow_chars = _
81helo_lookup_domains =
82helo_verify_hosts = localhost
83helo_try_verify_hosts = 1.2.3.4
84hold_domains =
85host_lookup = a.b.c.d
86host_reject_connection = 10.9.8.7
87hosts_connection_nolog = 127.0.0.1
88hosts_treat_as_local =
89ignore_bounce_errors_after = 2m
90ignore_fromline_hosts = a.b.c.d
91ignore_fromline_local
92keep_malformed = 4d
93no_local_from_check
94local_from_prefix = *-
95local_from_suffix = =*
96local_interfaces =
97local_scan_timeout = 10s
98local_sender_retain
99localhost_number = "3 "
100log_selector = \
101 +address_rewrite \
102 -all \
103 +all_parents \
104 +arguments \
105 -connection_reject \
106 -delay_delivery \
107 +incoming_interface \
108 +incoming_port \
109 +lost_incoming_connection \
110 -queue_run \
111 +received_recipients \
112 +received_sender \
113 -retry_defer \
114 +return_path_on_delivery \
115 +sender_on_delivery \
116 +size_reject \
117 -skip_delivery \
118 +smtp_confirmation \
119 +smtp_connection \
120 +smtp_syntax_error \
121 +subject \
122 +tls_cipher \
123 +tls_peerdn
124log_timezone
125lookup_open_max = 16
126max_username_length = 8
127message_body_visible = 500
128message_id_header_domain = a.b.c
129message_id_header_text = x.y.z
130no_message_logs
131message_size_limit = 500K
132mua_wrapper
133never_users = root:0
134percent_hack_domains =
135pipelining_advertise_hosts = *.b.c
136pid_file_path = /some/thing
137no_preserve_message_logs
138primary_hostname = some.host.name
139no_print_topbitchars
140process_log_path = /a/b/c/d
141prod_requires_admin
142qualify_domain = some.dom.ain
143qualify_recipient = some.dom.ain
144queue_domains = a.b.c
145queue_list_requires_admin
146no_queue_only
147no_queue_only_override
148queue_only_file = /var/spool/exim/queue_only
149queue_only_load = 8.2
150no_queue_run_in_order
0cd5fd23 151queue_run_max = ${if = {1}{1} {5}{10}}
afda344b
PH
152queue_smtp_domains = x.y.z
153receive_timeout = 0s
154received_header_text = Received: ${if def:sender_rcvhost {from ${sender_rcvhost}\n\t}{${if def:sender_ident {from ${sender_ident} }}${if def:sender_helo_name {(helo=${sender_helo_name})\n\t}}}}by ${primary_hostname} ${if def:received_protocol {with ${received_protocol}}} (Exim ${version_number} #${compile_number})\n\tid ${message_id}${if def:received_for {\n\tfor $received_for}}
155received_headers_max = 30
156recipient_unqualified_hosts = localhost:some.host.name
157recipients_max = 0
158no_recipients_max_reject
159remote_max_parallel = 1
160remote_sort_domains =
161retry_data_expire = 24h
944a9c55 162retry_interval_max = 3d
afda344b
PH
163return_path_remove
164rfc1413_hosts =
165sender_unqualified_hosts = localhost:some.host.name
166smtp_accept_keepalive
167smtp_accept_max = 20
168smtp_accept_max_nonmail = 40
169smtp_accept_max_nonmail_hosts = ! *.b.c
170smtp_accept_max_per_connection = 20
171smtp_accept_max_per_host = 4
172smtp_accept_queue = 0
173smtp_accept_queue_per_connection = 10
174smtp_active_hostname = x.y.z
175no_smtp_enforce_sync
176smtp_max_synprot_errors = 11
177smtp_max_unknown_commands = 10
178smtp_ratelimit_hosts = *
179smtp_ratelimit_mail = 1, 1s, 2, 10s
180smtp_ratelimit_rcpt = 10, 2s, 5, 5m
181smtp_accept_reserve = 0
182smtp_banner = ${primary_hostname} ESMTP Exim ${version_number} #${compile_number} ${tod_full}
183smtp_check_spool_space
184smtp_connect_backlog = 5
185smtp_etrn_command =
186smtp_etrn_serialize
187smtp_load_reserve = 2
188smtp_receive_timeout = 1m
189smtp_reserve_hosts =
190smtp_return_error_details
191no_split_spool_directory
192no_strip_excess_angle_brackets
193no_strip_trailing_dot
194no_syslog_duplication
195syslog_facility = uucp
196syslog_processname = mta-exim
197no_syslog_timestamp
198system_filter = /home/exim/test/filter
199system_filter_directory_transport =
200system_filter_file_transport =
1f187290 201system_filter_group = MAILGROUP
afda344b
PH
202system_filter_pipe_transport =
203system_filter_reply_transport =
204system_filter_user = 99
205tcp_nodelay = false
206timeout_frozen_after = 7d
207timezone = EDT
23f3dc67 208tls_advertise_hosts =
afda344b
PH
209trusted_groups = 42
210trusted_users = ${readfile{DIR/aux-fixed/TESTNUM.trusted}{:}}
211unknown_login = unknownlogin
212unknown_username = Exim Testing
213untrusted_set_sender = *
214uucp_from_pattern = ^From\s+(\S+)\s+(?:[a-zA-Z]{3},?\s+)?(?:[a-zA-Z]{3}\s+\d?\d|\d?\d\s+[a-zA-Z]{3}\s+\d\d(?:\d\d)?)\s+\d\d?:\d\d?
215uucp_from_sender = $1
216warn_message_file = /home/exim/test/warnmsg_file
217write_rejectlog = false
218
219
220# ----- Routers -----
221
222begin routers
223
224# The manualroute router
225
226manualroute:
227 driver = manualroute
228 address_data = domainlist address data
229 cannot_route_message = can't route this address
230 caseful_local_part
231 condition =
232 debug_print =
233 disable_logging
234 domains =
235 errors_to =
236 no_fail_verify_recipient
237 no_fail_verify_sender
238 fallback_hosts = localhost
1f187290 239 group = MAILGROUP
afda344b
PH
240 headers_add =
241 headers_remove =
242 host_find_failed = freeze
243 hosts_randomize
244 no_initgroups
245 local_parts =
246 more
247 no_pass_on_timeout
248 pass_router = manualroute2
249 redirect_router = manualroute2
250 require_files =
251 route_data = ${lookup{$local_part}lsearch{/}}
252 router_home_directory = /usr
253 self = freeze
254 senders =
255 transport = smtp
256 no_unseen
257 user = root
258 no_verify_only
259 verify_recipient
260 verify_sender
261
262# Manualroute2 router, for mutually exclusive options
263
264manualroute2:
265 driver = manualroute
266 domains = ! +local_domains
267 route_list = ^fax(\.cl(\.cam(\.ac\.uk)?)?)?$ cl.cam.ac.uk; \
268 *.uucp britain.eu.net
269
270# The redirect router, in "alias" mode
271
272alias:
273 driver = redirect
274 address_data = aliasfile address data
275 allow_fail
276 allow_freeze
277 caseful_local_part
278 no_check_ancestor
279 condition =
280 data = ${lookup{$local_part}lsearch{/etc/aliases}}
281 debug_print =
282 directory_transport = dummy
283 domains =
284 errors_to =
285 expn
286 no_fail_verify_recipient
287 no_fail_verify_sender
288 fallback_hosts =
289 file_transport = dummy
290 forbid_blackhole
291 no_forbid_file
292 forbid_include
293 no_forbid_pipe
294 group = 100
295 headers_add =
296 headers_remove =
297 hide_child_in_errmsg
298 include_directory = /i/n/c
299 no_initgroups
300 local_part_prefix =
301 no_local_part_prefix_optional
302 local_part_suffix =
303 no_local_part_suffix_optional
304 local_parts =
305 more
306 no_one_time
307 pipe_transport = dummy
308 no_qualify_preserve_domain
309 no_repeat_use
310 qualify_domain = xxxx
311 redirect_router = aliasfile2
312 require_files =
313 retry_use_local_part
314 no_rewrite
315 senders =
316 sieve_vacation_directory = /thing/thong
317 sieve_subaddress = rhubarb
318 sieve_useraddress = custard
319 no_skip_syntax_errors
320 syntax_errors_to =
321 transport_current_directory =
322 transport_home_directory =
323 no_unseen
324 user = 100
325 no_verify_only
326 verify_recipient
327 verify_sender
328
329# Aliasfile2 for mutually exclusive options
330
331aliasfile2:
332 driver = redirect
333 allow_defer
334 caseful_local_part
335 check_group
336 check_owner
337 file = /some/file
338 retry_use_local_part
339
340# The redirect router in "forward" mode
341
342forward:
343 driver = redirect
344 allow_filter
345 forbid_exim_filter
346 forbid_sieve_filter
347 caseful_local_part
348 check_ancestor
349 check_local_user
350 condition =
351 debug_print =
352 directory_transport = dummy
353 domains =
354 errors_to =
355 expn
356 no_fail_verify_recipient
357 no_fail_verify_sender
358 fallback_hosts =
359 file = //.forward2
360 file_transport = dummy
361 no_forbid_file
362 forbid_blackhole
363 forbid_filter_existstest
364 no_forbid_filter_logwrite
365 forbid_filter_dlfunc
366 forbid_filter_lookup
367 forbid_filter_readfile
368 forbid_filter_readsocket
369 forbid_filter_reply
370 forbid_filter_run
371 no_forbid_include
372 no_forbid_pipe
1f187290 373 group = MAILGROUP
afda344b
PH
374 headers_add =
375 headers_remove =
376 hide_child_in_errmsg
377 no_ignore_eacces
378 no_ignore_enotdir
379 no_initgroups
380 local_part_prefix = xxx-
381 local_part_prefix_optional
382 local_part_suffix =
383 no_local_part_suffix_optional
384 local_parts =
385 modemask = 022
386 more
387 no_one_time
388 owners = root
1f187290 389 owngroups = MAILGROUP
afda344b
PH
390 pipe_transport = dummy
391 no_qualify_preserve_domain
392 redirect_router = aliasfile2
393 reply_transport = dummy
394 require_files =
395 rewrite
396 senders =
397 no_skip_syntax_errors
398 syntax_errors_text = rhubarb
399 syntax_errors_to =
400 transport_current_directory =
401 transport_home_directory =
402 no_unseen
403 user = root
404 no_verify_only
405 no_verify_recipient
406 no_verify_sender
407
408# The accept router
409
410localuser:
411 driver = accept
412 no_address_test
413 caseful_local_part
414 check_local_user
415 condition =
416 debug_print =
417 domains =
418 errors_to =
419 expn
420 no_fail_verify_recipient
421 no_fail_verify_sender
422 fallback_hosts =
1f187290 423 group = MAILGROUP
afda344b
PH
424 headers_add = X-added: by localuser
425 headers_remove =
426 no_initgroups
427 local_part_prefix =
428 no_local_part_prefix_optional
429 local_part_suffix =
430 no_local_part_suffix_optional
431 local_parts =
432 no_log_as_local
433 more
434 redirect_router = smartuser
435 require_files =
436 senders =
437 transport = ${if eq{$local_part}{caller}{local_mbx_delivery}{local_delivery}}
438 transport_current_directory =
439 transport_home_directory =
440 no_unseen
441 user = 99
442 no_verify_only
443 verify_recipient
444 verify_sender
445
446# The redirect router in "smartuser" mode
447
448smartuser:
449 driver = redirect
450 caseful_local_part
451 condition =
452 data = user@domain
453 debug_print =
454 domains =
455 errors_to =
456 expn
457 no_fail_verify_recipient
458 no_fail_verify_sender
459 fallback_hosts =
460 file_transport = dummy
461 forbid_file
462 forbid_pipe
1f187290 463 group = MAILGROUP
afda344b
PH
464 headers_add =
465 headers_remove =
466 hide_child_in_errmsg
467 no_initgroups
468 local_part_prefix =
469 no_local_part_prefix_optional
470 local_part_suffix =
471 no_local_part_suffix_optional
472 local_parts = abcd
473 log_as_local
474 more
475 pipe_transport = dummy
476 qualify_preserve_domain
477 redirect_router = localuser
478 require_files =
479 retry_use_local_part
480 no_rewrite
481 senders =
482 no_unseen
483 user = root
484 no_verify_only
485 verify_recipient
486 verify_sender
487
488
489# ----- Transports -----
490
491# Dummy transport, to refer back to
492
493begin transports
494
495dummy:
496 driver = pipe
497 disable_logging
498
499# Appendfile Transport
500
501appendfile:
502 driver = appendfile
503 allow_fifo
504 no_allow_symlink
505 batch_max = 100
506 batch_id = rhubarb
507 body_only
508 no_check_group
509 no_check_owner
510 check_string = abcd
511 create_directory
512 create_file = anywhere
513 current_directory =
514 debug_print =
515 delivery_date_add
516 directory_mode = 0700
517 envelope_to_add
518 escape_string = xyz
519 file = /home/$local_part/inbox
520 file_format = "From : appendfile"
521 no_file_must_exist
1f187290 522 group = MAILGROUP
afda344b
PH
523 headers_add = X-original-domain: $original_domain\nX-original-localp: $original_local_part
524 headers_remove =
525 headers_rewrite = a@b c@d
526 lock_fcntl_timeout = 10s
527 lock_interval = 3s
528 lock_retries = 10
529 lockfile_mode = 0600
530 lockfile_timeout = 30m
531 mailbox_size = 1000
532 mailbox_filecount = 9999
dcb72db9 533 message_size_limit = 1G
afda344b
PH
534 mode = 0600
535 mode_fail_narrower
536 no_notify_comsat
537 message_prefix = From ${if def:return_path{$return_path}{MAILER-DAEMON}} ${tod_bsdinbox}\n
538 quota =
539 no_quota_is_inclusive
540 quota_size_regex = (\d+)$
541 quota_warn_message = "A warning message"
542 quota_warn_threshold =
543 rcpt_include_affixes
544 retry_use_local_part
545 return_path = xxxx
546 return_path_add
547 shadow_condition = $h_return-receipt-to
548 shadow_transport = dummy
549 message_suffix = \n
550 transport_filter =
551 transport_filter_timeout = 10s
552 no_use_crlf
553 use_fcntl_lock
554 use_lockfile
555 user = root
556
557# For options that are mutually exclusive with those above
558
559appendfile2:
560 driver = appendfile
561 directory = /etc
562 directory_file = afilename
563 quota_directory = /some/directory
564 quota = 1M
565 quota_filecount = 10
566 use_bsmtp
567
568# Ditto
569
570appendfile4:
571 driver = appendfile
572 directory = /etc
573
574# Smtp transport
575
576smtp:
577 driver = smtp
578 authenticated_sender = abcde
382afc6b 579 authenticated_sender_force = true
afda344b
PH
580 no_allow_localhost
581 command_timeout = 5m
582 connect_timeout = 0s
583 connection_max_messages = 0
584 data_timeout = 5m
585 debug_print =
586 delay_after_cutoff
587 no_delivery_date_add
588 dns_qualify_single
589 no_dns_search_parents
590 no_envelope_to_add
591 fallback_hosts = localhost
592 final_timeout = 10m
593 no_gethostbyname
594 headers_add =
595 headers_remove =
596 helo_data = some.text
597 hosts = localhost
598 hosts_avoid_esmtp = x.y.z
599 hosts_max_try = 10
600 hosts_max_try_hardlimit = 20
601 hosts_override
602 hosts_randomize
603 hosts_require_auth = *
604 hosts_try_auth = *
605 interface = 127.0.0.1
606 max_rcpt = 0
607 multi_domain
608 port = 25
609 retry_include_ip_address
610 no_return_path_add
611 serialize_hosts =
612 size_addition = -1
613 transport_filter =
614
615# End