59,9 → 59,19 |
# This decides whether SA gets run against the message or not. This |
# default will not reject messages if the message had SA headers but |
# they weren't added by us. |
SAEximRunCond: ${if and {{def:sender_host_address} {!eq {$sender_host_address}{127.0.0.1}} {!eq {$h_X-SA-Do-Not-Run:}{Yes}} } {1}{0}} |
# Remove or comment out the following line and set it to 1 to enable sa-exim |
SAEximRunCond: ${if and {{def:sender_host_address} {!eq {$sender_host_address}{127.0.0.1}} {!eq {$sender_host_address}{::1}}}} |
# If you want more detailed control over when to run SA, it's recommended |
# that you set an ACL variable indicating this from the acl section of |
# your Exim configuration file. The current maintainer sets acl_m0 to |
# "noscan" if the sending host is localhost or has authenticated. |
#SAEximRunCond: ${if !eq{$acl_m0}{noscan}} |
# (This means exactly the same as ${if !eq{$acl_m0}{noscan} {true}{}}, |
# where the empty string is considered false.) |
|
#---------------------------------------------------------------------- |
# Remove or comment out the following line to enable sa-exim |
SAEximRunCond: 0 |
#---------------------------------------------------------------------- |
|
# If and only if SAEximRunCond was true, and we did run SA, this |
# expression decides whether we actually consider acting upon SAdevnull, |
70,10 → 80,12 |
# Use this to tag messages that you shouldn't reject (messages sent to |
# abuse or postmaster for instance). |
# |
# X-SA-Do-Not-Rej should be set as a warn header if mail is sent to |
# postmaster and abuse (in the RCPT ACL), this way you're not bouncing |
# spam abuse reports sent to you. This is a RFC guideline. |
SAEximRejCond: ${if !eq {$h_X-SA-Do-Not-Rej:}{Yes} {1}{0}} |
# As an example, set acl_m0 to "canreject" if a recipient other than |
# postmaster or abuse is encountered (and the sender isn't local). That |
# way, spammers can't circumvent blocking by sending to postmaster and |
# 99 other recipients. (If acl_m0 is taken, you'll of course have to use |
# a different variable. |
#SAEximRejCond: ${if eq{$acl_m0}{canreject}} |
|
|
# How much of the body we feed to spamassassin (in bytes) |