# Exim test configuration 0324

.include DIR/aux-var/std_conf_prefix

primary_hostname = myhost.test.ex

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


# ----- Routers -----

begin routers

r1:
  driver = accept
  transport = t1
  headers_add = X-match: ${if match{$message_headers}{final}{YES}{NO}}\n\
                Y-match: ${if match{$h_X-Long:}{final}{YES}{NO}}\n\
                Z-match: ${if match{$h_X-LONG:}{another}{YES}{NO}}


# ----- Transports -----

begin transports

t1:
  driver = appendfile
  file = DIR/test-mail/$local_part
  user = CALLER

# End