[Mimedefang] Action bounce
Brent J. Nordquist
b-nordquist at bethel.edu
Thu Nov 4 15:53:56 EST 2004
On Thu, Nov 04, 2004 at 01:10:01PM -0700, Button, Shawn wrote:
> Can I action bounce for a certain SA score and then action discard for a
> higher score?
Yes, should work.
> If the action is discard does it try to process the bounce
> line as well or does it stop with discard?
Your code is using "return":
> if ($hits > 9.0) {
> return action_discard();
> }
>
> if ($hits > 7.5) {
> return action_bounce("Suspected spam - blocked Please Contact DTJDesign");
> }
...so if $hits > 9.0 is true, the flow of control will never get to the
test for $hits > 7.5
--
Brent J. Nordquist <b-nordquist at bethel.edu> N0BJN
Other contact information: http://kepler.its.bethel.edu/~bjn/contact.html
More information about the MIMEDefang
mailing list