Page 1 of 1

Allow DBF file

Posted: 04 Apr 2022 07:45
by nicutdk
Hello,

I try to allow .dbf files without success

I put in /etc/MailScanner/filename.rules.conf

allow \.dbf$ - -
allow \.DBF$ - -

Error is
application/octet-stream; charset=binary

I don't want to disable binary files.
It is possible resolv that?

Best Regards

Re: Allow DBF file

Posted: 04 Apr 2022 07:58
by pdwalker
Can you give us more information, because I an unaware of where eFa/Mailscanner/clamav(?) disables the sending of binary files.

Where did you see the error message? Is there any more information around the error message that may help us isolate what is triggering this error?

Is the error message from eFa, or is the error message from somewhere else?

Let us know.

Re: Allow DBF file

Posted: 04 Apr 2022 11:00
by nicutdk
Hi,

The error I see in web interface.

Virus: N
Blocked File: Y
Other Infection: N
Report: MailScanner: No programs allowed (test.DBF)


I can't find:
eFa/Mailscanner/clamav

Best regards

Re: Allow DBF file

Posted: 04 Apr 2022 11:21
by freyuh
Hello nicutdk,

take a look at 'filetype.rules.conf'
There you can try to allow executables ...

Ulrich.

Re: Allow DBF file

Posted: 04 Apr 2022 12:34
by nicutdk
Hello,

I see that but I don't allow all executable files.

Regards

Re: Allow DBF file

Posted: 04 Apr 2022 15:10
by freyuh
Hello nicutdk,

are these DBF-files in an archive?
If yes you also need to edit 'archives.filename.rules.conf'.


Ulrich.

Re: Allow DBF file

Posted: 05 Apr 2022 06:36
by nicutdk
Hi,

Is not archive.

This dbf file is open with OpenOffice so is not executable.

Re: Allow DBF file

Posted: 06 Apr 2022 19:34
by pdwalker
nicutdk wrote: 04 Apr 2022 11:00 Hi,

The error I see in web interface.

Virus: N
Blocked File: Y
Other Infection: N
Report: MailScanner: No programs allowed (test.DBF)


I can't find:
eFa/Mailscanner/clamav

Best regards
So Mailscanner is detecting it as an executable file. I am not sure what to do about that other than to submit a bug report to the Mailscanner project.

If you add the dbf file to a zip file and send that, will it pass?

Re: Allow DBF file

Posted: 11 Apr 2022 08:41
by nicutdk
I archived the file but the same. Block the mail.
Regards,

Re: Allow DBF file

Posted: 11 Apr 2022 09:29
by pdwalker
can you email me the test.dbf file so I can see what happens when it hits my system? If so, check your pms. I'll send you my email address to there.

Re: Allow DBF file

Posted: 25 Apr 2022 14:00
by JanF
is your entry to /etc/MailScanner/filename.rules.conf tab-stop seperated?

Re: Allow DBF file

Posted: 25 Apr 2022 15:50
by freyuh
I think it could be fietype.rules:

#EXAMPLE: deny - x-dosexec No DOS executables No DOS programs allowed

Add a line to allow them ...