Hi,
ive whitelisted some Domains with @domain.com and default.
But sometimes ther are .zip files or other files where been blocked as Bad content allthought the domain is on whitelist.
Is there a way to whitelist everything from domains?
Whitelisted but Bad Content
Re: Whitelisted but Bad Content
I have the same question.
I have some store that send orders in .xlsb files. I like to make exception just for that email address. I put this email address to whitelist default but when send this mail with .xlsb file mail is marked whitelisted but is also marked bad contend and is contained in quarantine and not delivered.
Please, how to make exception for that mail. thanks.
I have some store that send orders in .xlsb files. I like to make exception just for that email address. I put this email address to whitelist default but when send this mail with .xlsb file mail is marked whitelisted but is also marked bad contend and is contained in quarantine and not delivered.
Please, how to make exception for that mail. thanks.
- shawniverson
- Posts: 3650
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: Whitelisted but Bad Content
You either need to:
1) Allow the affected files in the filename/filetype rules
2) Configure for quarantine/release of bad content
Choose your adventure!
(btw,I don't like the way mailscanner handles this, I would also expect whitelisting to just whitelist, period, but alas...)
1) Allow the affected files in the filename/filetype rules
2) Configure for quarantine/release of bad content
Choose your adventure!
(btw,I don't like the way mailscanner handles this, I would also expect whitelisting to just whitelist, period, but alas...)
Re: Whitelisted but Bad Content
Hi Shawniverson,
So what file do i need to modify to allow bad content email even thought it is already whitelisted?
Thank you,
So what file do i need to modify to allow bad content email even thought it is already whitelisted?
Thank you,
Re: Whitelisted but Bad Content
go into /etc/MailScanner then search for the bad content rule in question.
Once you find the *.conf file that contains that rule, comment it out with a # character at the start of the line and that rule will be disabled.
In case you are having problems finding a particular rule, there are numerous threads in the forums where people have answered this question more explicitly. Use google to search this site (add "site:forum.efa-project.org" to your google search query)
Once you find the *.conf file that contains that rule, comment it out with a # character at the start of the line and that rule will be disabled.
In case you are having problems finding a particular rule, there are numerous threads in the forums where people have answered this question more explicitly. Use google to search this site (add "site:forum.efa-project.org" to your google search query)
Re: Whitelisted but Bad Content
Hello.
There is more effective solution for *.xlsb files and similar.
Problem is that in EFA use file tool version 5-04 which is have problems with determine correct type of files.
You just need update your file tool on EFA. Unfortunately, i didn't find new rpm, so you should make it from sources.
Here is manual how to do it.
1. Download latest file tool sources and compile it.
Logon to shell EFA with root rights
cd /root
wget http://download.openpkg.org/components/ ... .35.tar.gz
gzip -d file-5.35.tar.gz
tar xvf file-5.35.tar
cd file-5.35
./configure
make
make install
2. New file tool was installed to /usr/local/bin
Fix path in Maiscanner.conf and restart mailscanner
nano /etc/MailScanner/MailScanner.conf
find this section
# To disable Filetype checking, set this value to blank.
File Command = /usr/bin/file
and correct it to
# To disable Filetype checking, set this value to blank.
File Command = /usr/local/bin/file
3. Restart mailscanner service.
/etc/init.d/mailscanner restart
4. Enjoy!
There is more effective solution for *.xlsb files and similar.
Problem is that in EFA use file tool version 5-04 which is have problems with determine correct type of files.
You just need update your file tool on EFA. Unfortunately, i didn't find new rpm, so you should make it from sources.
Here is manual how to do it.
1. Download latest file tool sources and compile it.
Logon to shell EFA with root rights
cd /root
wget http://download.openpkg.org/components/ ... .35.tar.gz
gzip -d file-5.35.tar.gz
tar xvf file-5.35.tar
cd file-5.35
./configure
make
make install
2. New file tool was installed to /usr/local/bin
Fix path in Maiscanner.conf and restart mailscanner
nano /etc/MailScanner/MailScanner.conf
find this section
# To disable Filetype checking, set this value to blank.
File Command = /usr/bin/file
and correct it to
# To disable Filetype checking, set this value to blank.
File Command = /usr/local/bin/file
3. Restart mailscanner service.
/etc/init.d/mailscanner restart
4. Enjoy!