|
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:14:34 CDT
On Tue, Oct 01, 2002 at 12:43:59PM -0500, Michael Jarvis wrote:
> Well the "IGNORE" clause will only work if it's in the same line. I
> know, because I just tested it. :-)
>
> For example, let's assume only two rules in body_checks:
>
> /xyzzy/ IGNORE
> /spamalicious/ REJECT spam
>
> An email contains a line "xyzzy spamalicious" or "spamalicious xyzzy"
> then it will get through.
>
> However, if the email contains these two phrases on separate lines, it's
> always rejected.
>
> I haven't looked at the latest development version of Postfix. Is this
> fixed in that version? If so, how stable is it? I'm tempted to take a
> stab at patching this myself, but I hate duplicated effort.
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.
-- 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 ]