|
From: mouss <mo...@ml...> - 2010-03-14 23:07:23
|
Noel Jones a écrit : > On 3/13/2010 2:26 AM, Luis Daniel Lucio Quiroz wrote: >> What param do I have to set >> >> to avoid when user change its extension of exe files? >> >> I wonder to block if possible better by file recogition rather than a extension >> >> LD > > look in your amavisd.conf for the $banned_filename_re section. > Under that, there should be a line something like > qr'^\.(exe-ms|dll)$', # banned file(1) > types, rudimentary > > The line may be commented out with a "#" at the beginning; > remove the "#" to activate that rule. > I think OP means the other way. He fears that users could escape the ban just by renaming the file. if so, then for OP: amavisd-new does check the file type too. |