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

最後直接設定放行有加密的壓縮檔案就解決了這個問題了。

設定 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

然後重新啟動,即可。

arrow
arrow
    全站熱搜

    翰 發表在 痞客邦 留言(0) 人氣()