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

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