summaryrefslogtreecommitdiff
path: root/test/confs/0304
blob: 1f292a98c0c5a8cc9f34a6ac9bea8934835e9036 (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
# Exim test configuration 0304

exim_path = EXIM_PATH
host_lookup_order = bydns
primary_hostname = myhost.test.ex
spool_directory = DIR/spool
log_file_path = DIR/spool/log/%slog
gecos_pattern = ""
gecos_name = CALLER_NAME

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

acl_smtp_rcpt = acl1

# ----- ACLs -----

begin acl

acl1:
  deny   message = failed 1
         recipients = \N^abc.*@.*\.x\.y\.z\N : a@b

  deny   message = failed 2
         recipients = lsearch*@;DIR/aux-fixed/TESTNUM.d1

  deny   message = failed 3
         recipients = @@lsearch;DIR/aux-fixed/TESTNUM.d2

  deny   message = failed 4
         recipients = domain.only : *.domain2.only

  deny   message = failed 5
         recipients = abc@domain3 : xyz@*.domain4

  deny   message = failed 6
         recipients = pqr@@

  deny   message = failed 7
         senders = :
         recipients = b1@x

  deny   message = failed 8
         senders = ^\$
         recipients = b2@x

  deny   message = failed 9
         recipients = *@lsearch;DIR/aux-fixed/TESTNUM.d3

  deny   message = failed 10
         recipients = xyz@lsearch;DIR/aux-fixed/TESTNUM.d4

  deny   message = failed 11
         recipients = lsearch*@;DIR/aux-fixed/TESTNUM.d5

  accept



# ----- Retry -----

begin retry

*                *   F,5d,5m

# End