All pastes #514050 Raw Edit

Stuff

public text v1 · immutable
#514050 ·published 2007-05-27 15:02 UTC
rendered paste body
### acl/10_acl_m0
#################################

check_if_to_scan:

  ##### Checks for postmaster or abuse - we'll scan, still, but not reject
  ##### Don't reject for certain users
  warn     local_parts   = postmaster : abuse
           add_header    = X-SA-on-mars-noreject: Yes

  ##### Check for situations we don't even scan (local mail)
  ##### Don't scan if hosts we relay for (probably dumb MUAs),
  warn     hosts         = +relay_from_hosts:127.0.0.1/8
           add_header    = X-SA-on-mars-norun: Yes

  ##### Don't scan non-smtp connections (empty host list)
  warn     hosts         = :
           add_header    = X-SA-on-mars-norun: Yes

  ##### Don't scan if authenticated
  warn     authenticated = *
           add_header    = X-SA-on-mars-norun: Yes