OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Barton Hodges (bartongcmcomputers.com)
Date: Wed Aug 22 2001 - 08:53:23 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    I've been looking through the code trying
    to figure out where and how to rewrite the code
    so that postfix will stop processing the body_checks
    as soon as it finds a match.

    For instance, if the body contained both
    "accept me" and "reject me", the body would
    be accepted with this configuration:

    /accept me/ OK
    /reject me/ REJECT

    and it would be rejected with this configuration:

    /reject me/ REJECT
    /accept me/ OK

    I'm pretty sure that cleanup_message_body has
    to be rewritten so that it doesn't call maps_find,
    or maps_find has to be rewritten to return a value
    upon the first successful match.

    Has anybody had any experience with this who
    could help me out?

    Thanks.
    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users