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

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
tls_advertise_hosts =

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

acl_smtp_rcpt = accept
trusted_users = CALLER


# ----- Authentication -----

begin authenticators

a1:
  driver = plaintext
  public_name = FIRST
  server_advertise_condition = \
    ${if eq{$sender_host_address}{10.0.0.2}{yes}{no}}
  server_condition = yes

a2:
  driver = plaintext
  public_name = SECOND
  server_advertise_condition = \
    ${if eq{$sender_host_address}{10.0.0.3}{yes}{no}}
  server_condition = yes

# End