Re: [AMaViS-user] $banned_filename_re example

2008-10-02 Thread Mark Martinec
Michael, > What I want to do, is to bann the .exe files. > > $banned_filename_re = new_RE( > qr'^\.(exe)$'i, > ) Ok. This tests on classifications made by a file(1) utility (not on a name of a file). > what about the double extensions, is it usefull to add them?? > qr'\.[^./]*[A-Za-z][^./]*\

[AMaViS-user] $banned_filename_re example

2008-10-01 Thread Ionkin Michael
Hello, at the moment i'm editing the amavisd.conf and i have a question due to $banned_filename_re. What I want to do, is to bann the .exe files. $banned_filename_re = new_RE( qr'^\.(exe)$'i, ) what about the double extensions, is it usefull to add them?? qr'\.[^./]*[A-Za-z][^./]*\.\s*(exe|v