Allow DBF file

Questions and answers about how to do stuff
Post Reply
nicutdk
Posts: 16
Joined: 24 Jul 2017 12:57

Allow DBF file

Post 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
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Allow DBF file

Post 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.
nicutdk
Posts: 16
Joined: 24 Jul 2017 12:57

Re: Allow DBF file

Post 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
freyuh
Posts: 62
Joined: 04 Oct 2018 11:21

Re: Allow DBF file

Post by freyuh »

Hello nicutdk,

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

Ulrich.
nicutdk
Posts: 16
Joined: 24 Jul 2017 12:57

Re: Allow DBF file

Post by nicutdk »

Hello,

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

Regards
freyuh
Posts: 62
Joined: 04 Oct 2018 11:21

Re: Allow DBF file

Post by freyuh »

Hello nicutdk,

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


Ulrich.
nicutdk
Posts: 16
Joined: 24 Jul 2017 12:57

Re: Allow DBF file

Post by nicutdk »

Hi,

Is not archive.

This dbf file is open with OpenOffice so is not executable.
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Allow DBF file

Post 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?
nicutdk
Posts: 16
Joined: 24 Jul 2017 12:57

Re: Allow DBF file

Post by nicutdk »

I archived the file but the same. Block the mail.
Regards,
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Allow DBF file

Post 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.
JanF
Posts: 4
Joined: 05 Apr 2022 09:08

Re: Allow DBF file

Post by JanF »

is your entry to /etc/MailScanner/filename.rules.conf tab-stop seperated?
freyuh
Posts: 62
Joined: 04 Oct 2018 11:21

Re: Allow DBF file

Post 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 ...
Post Reply