Skip to Content.
Sympa Menu

en - Re: [sympa-users] upload control

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaün - CRU <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] upload control
  • Date: Tue, 07 Jun 2005 09:34:18 +0200

Dan Pritts wrote:

On Mon, May 30, 2005 at 12:23:26PM +0300, Yavuz SERT wrote:

Is there any way to do an operation like this in d_read* files:

match( [uploaded_file_name??] , /.exe/ ) smime,md5 ->
reject,notify

No currently you don't have any information about the file in the d_xx scenarios.
But it would be a good idea to have some. Please fill out a feature request about this : http://listes.cru.fr/mantis

better than just a file name match would be a filetype match (output of "file" command) and/or a virus scan.
Most of the relevant code for this could be taken from something like amavisd-new.
We already have anti-virus pieces of codes (to scan incoming messages) ; it should be easy to reuse them to scan uploaded files.
Please fill out a feature request about this also.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.19+.

Top of Page