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

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

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