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

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

# ----- 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