MailScanner 內容誤判

myspam上線之後,發生了一個很特殊的狀況,我們某個客人寄來的信,都會判斷有問題,信件的內容被MailScanner給擋了下來,原本以為是附件格式的關係(純文字 or RTF-HTML),要不然就是UTF8被檔成了Big5、歐洲編碼的關係,結果不是,是因為內容誤判。打開MailScanner加上去的付件之後,才發現,原來是內容有問題,請看藍色字部份。

This is a message from the MailScanner E-Mail Virus Protection Service
———————————————————————-
The original e-mail attachment “msg-13172-87.txt”
is on the list of unacceptable attachments for this site and has been
replaced by this warning message.

If you wish to receive a copy of the original attachment, please
e-mail helpdesk and include the whole of this message
in your request. Alternatively, you can call them, with
the contents of this message to hand when you call.

At Tue Mar 9 17:56:01 2010 the virus scanner said:
MailScanner: No programs allowed (msg-13172-87.txt)

Note to Help Desk: Look on the Everenergy () MailScanner in /var/spool/MailScanner/quarantine/20100309 (message 1E5881DE80A8.29D84).

Postmaster

For all your IT requirements visit: http://www.transtec.co.uk

去酷學園看文章,MIS背影學長說是filetype.rules.conf裡面的設定有問題。
vi /etc/MailScanner/filetype.rules.conf

出現”No programs allowed”的字樣,一共有2行
deny executable No executables No programs allowed
deny ELF No executables No programs allowed
經過交叉測試之後,發現下面這行註解掉(加上#)
#deny executable No executables No programs allowed
wq
存檔離開
酷學園的學長說,上面那2行都註解掉,其實只要註解一個就好了
service MailScanner restart
重新啟動MailScanner之後
就可以正常收發信了

這行的意思是說,如果是執行檔的內容,就不給寄信
明明就是純文字的內容,因為文章的內容裡有歐洲字「Ü」
而且還出現了很多次,我在想是不是因為這樣的關係被判成執行檔的機械碼!
總而言之,就是一整個神奇事件,真是@#$%^&*(*&^%$#@
另外,我的訊息頁尾還是有
For all your IT requirements visit: http://www.transtec.co.uk贊助商的訊息
我還是沒有拿掉,給他們一點小小的支持。

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *