|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Clifton Royston (cliftonr_at_lava.net)
Date: Tue Oct 01 2002 - 13:35:51 CDT
On Tue, Oct 01, 2002 at 01:31:47PM -0500, Michael Jarvis wrote:
>
> On Tue, Oct 01, 2002 at 08:14:34AM -1000, Clifton Royston wrote:
> > I think this is not a bug but reflects a misunderstanding of how the
> > body checks are supposed to work. All checks are executed on each line
> > of the input. Hence the behavior you describe above is exactly what's
> > intended, if not what you desire. What you're looking for is a design
> > change.
>
> What I would desire is this:
>
> /xyzzy/ OK
> /spam/ REJECT
>
> Where the rules are executed in order, and as soon as an "OK" is found
> then processing is stopped. Since "OK" is a valid token in the
> body_checks and header_checks parameters, I can only assume that this has
> at least been considered before.
>
> Currently the body_checks (and header_checks) are an all-or-nothing
> affair. Either you execute ALL of the rules on every line of the
> message, or you don't use the feature.
Exactly. As I understand the feature, they are meant as an avenue
for admins to put in quick ad-hoc tests, not to replace a
general-purpose content filter.
> In the email you replied to, I was merely illustrating to Michael Brennen
> (mbrennen
fni.com) that "IGNORE" wouldn't give me the functionality I
> need.
>
> I've downloaded the source to postfix-1.1.11-20020928 and I'm looking to
> see how hard it would be to have "OK" cease all body_check processing.
I believe there have been patches discussed which add an additional
verb to do this, but since I'm not using either header_checks or
body_checks I haven't looked into them.
-- Clifton
--
Clifton Royston -- LavaNet Systems Architect -- cliftonr
lava.net
"What do we need to make our world come alive?
What does it take to make us sing?
While we're waiting for the next one to arrive..." - Sisters of Mercy
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]