OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Wietse Venema (wietseporcupine.org)
Date: Thu May 02 2002 - 07:56:54 CDT

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

    Try:

        postmap -q - regexp:/file/name <inputfile

            Wietse

    Agustin Mu?oz:
    > Hello Everyone,
    >
    > I'm playing with body_checks and header_checks in some of my postfix
    > MTA. But how can I check out the regexp i create ??. The ways I allways
    > used is echoing things I want to stop and grepping it :)
    >
    > echo "Some Stuf" | grep some_regular_expression
    >
    > But for certain things I don't get the same results using grep or
    > egrep, for example:
    >
    > echo "more than 10 len line" | grep .\{10,\}
    >
    > AND
    >
    > echo "more than 10 len line" | egrep .\{10,\}
    >
    > don't return the same result... so which is the method to test postfix
    > regexp ??
    >
    > Thanks in advance
    >
    > Agustin
    >
    >
    >
    > -
    > To unsubscribe, send mail to majordomopostfix.org with content
    > (not subject): unsubscribe postfix-users
    >
    >

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