有附件的mail有時寄不出去

這一次是站長遇到的問題,因為公司的電視牆主機程式有些問題
所以詢問廠商(精誠資訊),她們說需要我把主機的某些資料夾壓縮
後寄給她們分析

當我壓縮成zip檔要寄給廠商時卻遭到退信的訊息

出現的訊息如下!

Warning: This message has had one or more attachments removed
Warning: (JNEWS.BAT, CNEWS1.BAT, 951115.BAT, STKSym1.dll, DigiBase1.dll, Screen3.scr, Sense3.dll, IMBkTalk1.dll, R9511151.BAT, IMBkStock.dll, DigiWSet.exe, ewall-1024-50.txt, 1191.BAT, DigiManager_b.exe, AddSym1.dll, Msvcp60.dll, DigiWSet1.exe, RelaSym.dll, Setss3dll1.dll, R951115.BAT, FuSymMfc1.dll, IMBkUtil.dll, FuSymMfc.dll, mfc421.dll, DigiManager_Y1.exe, DigiNet1.dll, RelaSym1.dll, DigiBase.dll, SenKey011.dll, IMBkStock1.dll, CAPI32.dll, TORPREVX1.AAA, msvcrt.dll, mfc42.dll, IMBkNews.dll, 119.BAT, DWScreenApi.dll, CNEWS.BAT, DigiManager_Y.exe, AddSym.dll, Msvcp601.dll, DWScreenApi1.dll, DW2eWall.exe, DigiWallLib1.dll, Screen1.scr, msvcrt1.dll, Sense31.dll, JSock.dll, TWSESSIDLL.dll, IMBkTalk.dll, R.BAT, ZipDll1.dll, DW2eWall1.exe, DigiNet.dll, TORPREVX.AAA, R1.BAT, STKSym.dll, IMBkNews1.dll, DigiManager1.exe, Setss3dll.dll, Screen.scr, eWall.zip, SenKey01.dll, JSock1.dll, S3_inst.exe, ZipDll.dll, 9511151.BAT, TWSESSIDLL1.dll, IMBkUtil1.dll, Screen2.scr, CAPI321.dll, DigiWallLib.dll, JNEWS1.BAT, DigiManager.exe).
Warning: Please read the “yss-Attachment-Warning.txt” attachment(s) for more information

原因

這是因為MailScanner 如果搭配clamav防毒使用時,預設是會對郵件內文掃瞄,也就是會移除或是記錄具有一些

潛在攻擊的信件,上面的內容就是說附件內容的一些檔案可能有些危險所以被移除了

解決方法

修改 /etc/MailScanner/MailScanner.conf 中的設定

Dangerous Content Scanning = yes  改為 no 即可

再重新啟動MailScanner 就可以套用了

PS: 此設定是關閉掃描內文的功能, 所以 MailScanner只會啟動掃毒的功能



本篇瀏覽人數: 523
本篇發表於 Linux其他問題。將永久鏈結加入書籤。

發表迴響

你的電子郵件位址並不會被公開。 必要欄位標記為 *