summaryrefslogtreecommitdiff
path: root/test/confs/0037
blob: 98ef4d3d4b6f667c98bf7e029a7743f2e4e014ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# Exim test configuration 0037

FILTER_PREPEND_HOME=

exim_path = EXIM_PATH
host_lookup_order = bydns
spool_directory = DIR/spool
log_file_path = DIR/spool/log/%slog
gecos_pattern = ""
gecos_name = CALLER_NAME
tls_advertise_hosts =

# ----- Main settings -----

message_body_visible = 20
qualify_domain = test.ex
freeze_tell = postmaster
system_filter = DIR/aux-var/TESTNUM.F
system_filter_reply_transport = address_reply
trusted_users = CALLER


# ----- Routers -----

begin routers

check_vars:
  driver = accept
  local_parts = dff
  headers_add = original_domain=$original_domain\n  \
                original_local_part=$original_local_part\n  \
                parent_domain=$parent_domain\n  \
                parent_local_part=$parent_local_part
  transport = appendfile
  user = CALLER

fail_read_filter:
  driver = redirect
  local_parts = readfile
  allow_filter
  file = DIR/aux-var/TESTNUM.f-readfile
  user = CALLER

prepend_filter:
  driver = redirect
  local_parts = prepend
  allow_filter
  router_home_directory = /usr
  file = DIR/aux-fixed/TESTNUM.f-7
  file_transport = appendfile
  user = CALLER
  FILTER_PREPEND_HOME

userfilter:
  driver = redirect
  allow_filter
  user = CALLER
  no_check_local_user
  router_home_directory = /usr
  debug_print = \$home = >$home<
  file = DIR/aux-var/TESTNUM.f-user
  forbid_file
  forbid_filter_existstest
  forbid_filter_lookup
  forbid_filter_readfile
  forbid_filter_run
  forbid_pipe
  local_parts = ^filter-
  retry_use_local_part
  reply_transport = address_reply

user_accept1:
  driver = accept
  local_parts = userz : abcd : postmaster
  retry_use_local_part
  transport = appendfile
  user = CALLER

user_accept2:
  driver = accept
  local_parts = userx : CALLER
  transport = appendfile


# ----- Transports -----

begin transports

appendfile:
  driver = appendfile
  delivery_date_add
  envelope_to_add
  file = DIR/test-mail/$local_part
  return_path_add
  user = CALLER

address_reply:
  driver = autoreply
  never_mail = never_mail@test.ex
  user = CALLER
  initgroups

# End