summaryrefslogtreecommitdiff
path: root/test/confs/3414
blob: 5d0f93c46bc98ecd644926dd88c6be3230451c3a (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
# Exim test configuration 3414

ACL=
OPT=

exim_path = EXIM_PATH
keep_environment =
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
chunking_advertise_hosts =
tls_advertise_hosts =

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

acl_smtp_mail = mail
OPT acl_smtp_mailauth=ACL


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

begin acl

acl1:
  accept condition = ${if eq{$authenticated_sender}{ok@ok}{1}{0}}

mail:
  warn    log_message = \$authenticated_sender=$authenticated_sender
  accept


# ----- Authenticators -----

begin authenticators

ok:
  driver = plaintext
  public_name = PLAIN
  server_prompts = :
  server_condition = true


# End