# Exim test configuration 4002
# Content-scan: spamassassin interface

OPT= 127.0.0.1 7833

.include DIR/aux-var/std_conf_prefix

log_selector = +subject
primary_hostname = myhost.test.ex

# we need to set the sender
trusted_users = CALLER

spamd_address = OPT

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

acl_smtp_rcpt = accept
acl_smtp_data = c_data

begin acl

c_data:
  warn
    spam = nobody
  warn
    log_message = $callout_address $spam_action $spam_report
  accept

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

begin routers

r:
  driver = redirect
  data = :blackhole:

# End