Page 1 of 1

Allow executable file per file extension basis

Posted: 03 Mar 2022, 14:56
by avsiCSCF
Hi all!

We're trying to allow .dbf file attachments but we've had no luck so far.

We tried allowing this file extension in:
- archives.filename.rules.conf;
- archives.filetype.rules.conf;
- filename.rules.conf;
- filetype.rules.conf;
with no success.

When trying to send a .dbf attachement we keep triggering this rule:

Code: Select all

deny    executable      No executables          No programs allowed
in file "filetype.rules.conf".

Is there a way to leave this rule active but only allow certain (.dbf) files through?

Re: Allow executable file per file extension basis

Posted: 03 Mar 2022, 16:22
by Sarah
Unfortunately I am not aware of a way to accomplish this. If you read this knowledgebase article:

https://support.configserver.com/en/kno ... d-to-block

You will note that it is actually the file command and the magic file on your server that is identifying the file as an executable, and not MailScanner itself. You might find a solution by investigating the file command and magic file via the links provided in that article, or searching the MailScanner mailing list database, etc.

Re: Allow executable file per file extension basis

Posted: 03 Mar 2022, 21:09
by avsiCSCF
Hello, thank you for such quick response.

I've been researching MailScanner v5 Github and found this thread:
- https://github.com/MailScanner/v5/issues/592

Would I be correct in assuming that this feature is in development right now?
Could you please confirm (or deny) this?

If not I probably misunderstood the Github discussion but at the moment this looks like exactly the feature we need.

Many thanks.

Re: Allow executable file per file extension basis

Posted: 03 Mar 2022, 22:12
by Sarah
We are not the developers of MailScanner itself, so I cannot verify whether it is a feature they are working on. In any case we usually do not integrate new versions of MailScanner into our MailScanner Front-End install right away, because we need to ensure that there are no changes that will cause issues for our implementation.

Re: Allow executable file per file extension basis

Posted: 04 Mar 2022, 12:37
by avsiCSCF
Thank you for your response.

Since update of MailScanner will probably resolve our issue, can you please provide us with information, when do you plan to update it?

Thank you.

Re: Allow executable file per file extension basis

Posted: 04 Mar 2022, 13:49
by Sarah
Sorry, I can't provide any timescale for this.