blob: 1d14d8972568ff1536aeb74e71373e045fb44266 (
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
|
# Exim test configuration 0212
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
# ----- Main settings -----
domainlist local_domains = test.ex
domainlist relay_domains = test.ex
acl_smtp_rcpt = check_recipient
acl_smtp_vrfy = check_vrfy
qualify_domain = test.ex
smtp_accept_max_nonmail = 1000
trusted_users = CALLER
# ----- ACL -----
begin acl
check_recipient:
accept hosts = :
deny message = unrouteable address
!verify = recipient
accept domains = +local_domains
accept domains = +relay_domains
deny message = relay not permitted
check_vrfy:
accept
# ----- Routers -----
begin routers
fail_remote_domains:
driver = redirect
domains = ! +local_domains
allow_fail
data = :fail: unrouteable mail domain "$domain"
smartuser:
driver = redirect
allow_defer
allow_fail
data = ${if match{$local_part}{^smartuser\\.(.*)}{$1}fail}
retry_use_local_part
alias:
driver = redirect
allow_defer
allow_fail
data = ${lookup{$local_part}lsearch{DIR/aux-fixed/TESTNUM.aliases}}
retry_use_local_part
forward:
driver = redirect
no_check_local_user
file = DIR/aux-fixed/TESTNUM.$local_part.forward
retry_use_local_part
all:
driver = accept
local_parts = userx
transport = local_delivery
# ----- Transports -----
begin transports
local_delivery:
driver = appendfile
file = DIR/test-mail/$local_part
return_path_add
user = CALLER
# ----- Retry -----
begin retry
* * F,5d,8h
# End
|