[Mimedefang] Action bounce

Kelson kelson at speed.net
Thu Nov 4 15:50:54 EST 2004


Button, Shawn wrote:
> Can I action bounce for a certain SA score and then action discard for a
> higher score? If the action is discard does it try to process the bounce
> line as well or does it stop with discard? Thank you kindly, Shawn
>             if ($hits > 9.0) {
>                 return action_discard();
                   ^^^^^^

Since you're calling return with the result of action_discard, it will 
leave filter_end.  So yes, it should do what you want.

(If you're concerned, just use an if...elsif structure.)

-- 
Kelson Vibber
SpeedGate Communications <www.speed.net>




More information about the MIMEDefang mailing list