MailScanner: No programs allowed

Questions and answers about how to do stuff
Post Reply
waltergarcia
Posts: 1
Joined: 24 May 2023 09:21

MailScanner: No programs allowed

Post by waltergarcia »

Hello!

How to allow via efa sending of signed docx files?

After scanning, these files are treated as "MailScanner: No programs allowed".

When removing signatures, all is ok.
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: MailScanner: No programs allowed

Post by pdwalker »

1/ Are you 100% sure they are docx files?

Because docx are not executable and shouldn't be detectable as executable files.

Run the following command on your EFA box and report back the results

Code: Select all

grep -ir "No programs allowed" /etc/MailScanner/
2/ What do you mean by "removing signatures"? I don't understand what you did so I would like to understand to see if that will create a problem for you or not.
omer
Posts: 39
Joined: 11 Oct 2017 15:23

Re: MailScanner: No programs allowed

Post by omer »

Hello,

I started having a similar problem. Shapefile format is a format used for geographic information systems. This creates an archive and contains files with extensions such as .dbf, .prj, .sbn, .sbx, .shp, .shx.

But Efa-Project prevents this.

How can I get over this ending?
MailScanner: No programs allowed (GS_Boundary.dbf)
MailScanner: No programs allowed (GS_Boundary.dbf) MailScanner: No programs allowed (GS_Boundary)
MailScanner: No programs allowed (GS_Boundary)
Thank you.
tochiwa94
Posts: 4
Joined: 22 Aug 2023 16:04

Re: MailScanner: No programs allowed

Post by tochiwa94 »

Maybe try this workaround from an old post in this forum and see if it works:
viewtopic.php?t=2893:

Code: Select all

sudo vi /etc/MailScanner/filename.rules.conf ... and archives.filename.rules.conf
-- Before the final deny add in "Allow \.ics$ - -". Tab separated, make sure you don't get these as spaces. I added this as ics (calendar) files can have odd names which trip up mailscanner.
omer
Posts: 39
Joined: 11 Oct 2017 15:23

Re: MailScanner: No programs allowed

Post by omer »

Hello,

I already tried this but without success.
omer
Posts: 39
Joined: 11 Oct 2017 15:23

Re: MailScanner: No programs allowed

Post by omer »

My config files are as follows.

No matter what I did, it didn't work. It also blocks it when it is in Zip or RAR.

archives.filetype.rules.conf - https://pastebin.com/kqtnXDQv
filetype.rules.conf - https://pastebin.com/VFnDppnq
filename.rules.conf - https://pastebin.com/DY8Jzbsx
Post Reply