OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Sven Michels (smichelsintradat.com)
Date: Wed Sep 05 2001 - 10:53:27 CDT

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

    Eduardo Damato wrote:
    >
    > Hi Everyone,
    >
    > Some time ago there was a discussion on the list about regexp rules for
    > rejecting attached files, but it was a PCRE regexp. Does anyone have a
    > nice rule for the same purpose but as a regular REGEXP?
    something like:
    etc/postfix/header_checks:
    /^(.*)n4m3\=\"(.*)\.(hta|com|pif|vbs|vbe|js|jse|exe|bat|cmd
    |vxd|scr|shm|eml|hlp|spl|swf)\"$/ REJECT
    works fine here...
    note: n4n3 = name
    and it's one line!

    -- 
    intraDAT AG                     http://www.intradat.com
    Wilhelm-Leuschner-Strasse 7         Tel: +49 69-25629-0
    D - 60329 Frankfurt am Main       Fax: +49 69-25629-256
    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users