blob: 9eaca09af025b47a45a078805ca4aa55d3feb9f3 (
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
|
# Exim test configuration 0378
exim_path = EXIM_PATH
host_lookup_order = bydns
primary_hostname = myhost.test.ex
rfc1413_query_timeout = 0s
spool_directory = DIR/spool
log_file_path = DIR/spool/log/%slog
gecos_pattern = ""
gecos_name = CALLER_NAME
# ----- Main settings -----
domainlist local_domains = test.ex
# ----- Routers -----
begin routers
bounce:
driver = redirect
senders = :
data = :blackhole:
defer:
driver = redirect
local_parts = ^defer
allow_defer
data = :defer: forced defer
aaaa_2nd_time:
driver = redirect
local_parts = aaaa
condition = ${if first_delivery{no}{yes}}
data = aaaa@$domain
aaaa:
driver = redirect
local_parts = aaaa
allow_filter
file_transport = t1
pipe_transport = t2
reply_transport = t3
user = CALLER
data = "# Exim filter\n\
deliver defer_aaaa@$domain\n\
save DIR/test-mail/file\n\
pipe \"/bin/sh -c exit\"\n\
mail subject autoreply\n\
text \"This is an autoreply\""
# ----- Transports -----
begin transports
t1:
driver = appendfile
user = CALLER
t2:
driver = pipe
user = CALLER
t3:
driver = autoreply
user = CALLER
initgroups
# ----- Retry -----
begin retry
* * F,5d,10s
# End
|