Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 4 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4 Rev 6
Line 57... Line 57...
57
57
58
# Exim configuration string to run before running SA against the message
58
# Exim configuration string to run before running SA against the message
59
# This decides whether SA gets run against the message or not.  This
59
# This decides whether SA gets run against the message or not.  This
60
# default will not reject messages if the message had SA headers but
60
# default will not reject messages if the message had SA headers but
61
# they weren't added by us.
61
# they weren't added by us.
62
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}}
62
SAEximRunCond: ${if and {{def:sender_host_address} {!eq {$sender_host_address}{127.0.0.1}} {!eq {$sender_host_address}{::1}}}}
-
 
63
# If you want more detailed control over when to run SA, it's recommended
-
 
64
# that you set an ACL variable indicating this from the acl section of
-
 
65
# your Exim configuration file. The current maintainer sets acl_m0 to 
-
 
66
# "noscan" if the sending host is localhost or has authenticated.
-
 
67
#SAEximRunCond: ${if !eq{$acl_m0}{noscan}}
-
 
68
# (This means exactly the same as ${if !eq{$acl_m0}{noscan} {true}{}}, 
-
 
69
# where the empty string is considered false.)
-
 
70
-
 
71
#----------------------------------------------------------------------
63
# Remove or comment out the following line and set it to 1 to enable sa-exim
72
# Remove or comment out the following line to enable sa-exim
64
SAEximRunCond: 0
73
SAEximRunCond: 0
-
 
74
#----------------------------------------------------------------------
65
75
66
# If and only if SAEximRunCond was true, and we did run SA, this
76
# If and only if SAEximRunCond was true, and we did run SA, this
67
# expression decides whether we actually consider acting upon SAdevnull,
77
# expression decides whether we actually consider acting upon SAdevnull,
68
# SApermreject, and SAtempreject if you have them set.
78
# SApermreject, and SAtempreject if you have them set.
69
#
79
#
70
# Use this to tag messages that you shouldn't reject (messages sent to
80
# Use this to tag messages that you shouldn't reject (messages sent to
71
# abuse or postmaster for instance).
81
# abuse or postmaster for instance).
72
#
82
#
73
# X-SA-Do-Not-Rej should be set as a warn header if mail is sent to
83
# As an example, set acl_m0 to "canreject" if a recipient other than
74
# postmaster and abuse (in the RCPT ACL), this way you're not bouncing
84
# postmaster or abuse is encountered (and the sender isn't local). That
75
# spam abuse reports sent to you. This is a RFC guideline.
85
# way, spammers can't circumvent blocking by sending to postmaster and 
-
 
86
# 99 other recipients. (If acl_m0 is taken, you'll of course have to use
-
 
87
# a different variable.
76
SAEximRejCond: ${if !eq {$h_X-SA-Do-Not-Rej:}{Yes} {1}{0}}
88
#SAEximRejCond: ${if eq{$acl_m0}{canreject}}
77
89
78
90
79
# How much of the body we feed to spamassassin (in bytes)
91
# How much of the body we feed to spamassassin (in bytes)
80
# Default is 250KB
92
# Default is 250KB
81
SAmaxbody: 256000
93
SAmaxbody: 256000