|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Michael Jarvis (michael_at_jarvis.com)
Date: Tue Oct 01 2002 - 13:31:47 CDT
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.
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.
Best regards,
Michael
-- Michael Jarvis michaeljarvis.com http://www.jarvis.com/home.php "Freiheit stirbt in kleinen Stücken." - To unsubscribe, send mail to majordomo
postfix.org with content (not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]