Page 1 of 1

MailScanner: No programs allowed

Posted: 24 May 2023 09:23
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.

Re: MailScanner: No programs allowed

Posted: 24 May 2023 11:41
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.

Re: MailScanner: No programs allowed

Posted: 21 Nov 2023 15:04
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.

Re: MailScanner: No programs allowed

Posted: 26 Nov 2023 02:34
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.

Re: MailScanner: No programs allowed

Posted: 26 Nov 2023 08:42
by omer
Hello,

I already tried this but without success.

Re: MailScanner: No programs allowed

Posted: 26 Nov 2023 09:44
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