All pastes #516525 Raw Edit

Mine

public text v1 · immutable
#516525 ·published 2007-05-28 19:09 UTC
rendered paste body
# This router routes addresses that are not in local domains by doing a DNS
# lookup on the domain name. Any domain that resolves to 0.0.0.0 or to a
# loopback interface address (127.0.0.0/8) is treated as if it had no DNS
# entry. Note that 0.0.0.0 is the same as 0.0.0.0/32, which is commonly treated
# as the local host inside the network stack. It is not 0.0.0.0/0, the default
# route. If the DNS lookup fails, no further routers are tried because of
# the no_more setting, and consequently the address is unrouteable.
# SpamAssassin
spamcheck_router:
          no_verify
  check_local_user
#  # When to scan a message :
#  # - it isn't already flagged as spam
#  # - it isn't already scanned
 condition = "${if or{ {eq{${local_part}}{root}} {eq{$h_x-spam-flag:} {YES}} {eq{${received_protocol}} {asmtp}} {eq{${received_protocol}} {spam-scanned}} {eq{${received_protocol}} {}} {eq{${received_protocol}} {local}} } {no}{yes}}"
  driver = accept
  transport = spamcheck

smarthost:
  driver = manualroute
  transport = remote_smtp
  domains = ! +local_domains
  route_list = * k2smtpout.secureserver.net