廣告

2024 年 11 月
 123
45678910
11121314151617
18192021222324
252627282930  

彙整

MailScanner阻擋加密的壓縮檔處理方式

今天公司收到一封別家公司寄來的信,附加檔案是ZIP,但是有加密,發現MailScanner 會直接擋下來,連設定不掃描壓縮檔也是一樣備擋下來,訊息如下:

The following e-mails were found to have: Other Bad Content Detected : Password-protected Archive Detected

最後直接設定放行有加密的壓縮檔案就解決了這個問題了。只是安全性有待考量@@

設定 MailScanner 不掃描壓縮檔案:

=====================================================

修改 vi /etc/MailScanner/MailScanner.conf 內的

# To disable this feature set this to 0.
# A common useful setting is this option = 0, and Allow Password-Protected
# Archives = no. That block password-protected archives but does not do
# any filename/filetype checks on the files within the archive.
# This can also be the filename of a ruleset.
   Maximum Archive Depth = 0 (將此設定改為0就可以)

=====================================================

設定 MailScanner 放行有加密過的壓縮檔案:

=====================================================

修改 vi /etc/MailScanner/MailScanner.conf

# Should archives which contain any password-protected files be allowed?
# Leaving this set to "no" is a good way of protecting against all the
# protected zip files used by viruses at the moment.
# This can also be the filename of a ruleset.
Allow Password-Protected Archives = yes

然後重新啟動,即可放行有加密的壓縮檔案。

=====================================================

讀者也會看的其它文章:

    You must be logged in to post a comment.