summaryrefslogtreecommitdiff
path: root/test/confs/0050
blob: 32a822a9b06c212ce9caa727ce0f843e29342d1f (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
# Exim test configuration 0050

.include DIR/aux-var/std_conf_prefix

trusted_users = CALLER
primary_hostname = myhost.ex

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

acl_smtp_rcpt = check_recipient


# ------ ACL ------

begin acl

check_recipient:
  accept  hosts = :
  deny    message = relay not permitted


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

begin routers

localuser:
  driver = accept
  local_parts = userx
  transport = local_delivery


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

begin transports

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

# End