OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Antoine de Lobel-Mahy (adelobelmeeschaert.com)
Date: Wed Dec 05 2001 - 06:33:59 CST

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

    Hello and lot of thanks kor your help.

    I try the solution next time.

    Is it possible to have a permit list of extension
    in place of forbidden list?

    Thanks.

    Antoine

    > -----Message d'origine-----
    > De : Duncan Hill [mailto:dhillpct.edu]
    > Envoye : mercredi 5 decembre 2001 13:25
    > A : Antoine de Lobel-Mahy
    > Cc : postfix-userspostfix.org
    > Objet : Re: receive virus by mail?
    >
    >
    > On Wed, 5 Dec 2001, Antoine de Lobel-Mahy wrote:
    >
    > > In second point, I would like to forbid the joined file with exe
    > > extension. Is it possible with Postfix
    >
    > /etc/postfix/regex_body_checks:
    > #/^(Content-Disposition: attachment;.*|
    > Content-Type:.*|(\t|
    > )+)(file)?name="?.*\.(lnk|hta|com|pif|vbs|vbe|js|jse|exe|bat|c
    > md|vxd|scr|shm|dll)"?$/
    > REJECT
    >
    > That lot was one line.
    >
    > In main.cf, put the line:
    > body_checks = regexp:/etc/postfix/regex_body_checks
    >
    > Works reasonably well.
    >
    >
    > That's one way. There may be others.
    >
    > --
    >
    > Sapere aude
    > My mind not only wanders, it sometimes leaves completely.
    > Never attribute to malice that which can be adequately
    > explained by stupidity.
    >
    >

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