常見問題 登入
搜尋 個人資料
會員列表 會員群組
登入檢查您的私人訊息
會員註冊
Clamav 0.95 + Sendmail 升級 issue
發表新主題   回覆主題
UnixCafe 首頁 » freeBSD » Clamav 0.95 + Sendmail 升級 issue
上一篇主題 :: 下一篇主題  
發表人 內容
juan
Site Admin


註冊時間: 2004-03-31
文章: 54
來自: Taiwan

 發表 發表於: 星期三 四月 01, 2009 2:39 pm    文章主題: Clamav 0.95 + Sendmail 升級 issue
引言回覆

最近 Clamav 從 0.942 改到 0.95 版
有個大改動就是新增了一個 clamav-milter.conf 的設定檔

之前因為裝了 sendmail + spamassain + clamav
等 port upgrade 放入 Clamav 0.95 之後動手安裝

compile 及安裝都一切都很順利
但重啟 clamav-milter 時總會出現以下的錯誤訊息:

Waiting for clamd socket..
Starting clamav_milter.
/usr/local/sbin/clamav-milter: illegal option -- m
ERROR: Unknown option passed
ERROR: Can't parse command line options


查了半天, 看不出個所以然來
google 上也沒找到類似的討論

後來檢查到 /etc/rc.conf 時
喔喔 ~
看到 rc.conf 裡面有一行之前加的參數
clamav_milter_flags="-loP -m20"

# 後再 restart clamav-milter 就 ok 了

全新的設定檔是 /usr/local/etc/clamav-miltrer.conf
裡面有許多可以 tuning 的參數
有空再慢慢 study 了

第一步是先切 256M 的 RAM 當 Ramdisk
把 clamd/clamav-milter 的暫存檔都丟到 ramdisk 去加快掃瞄速度

_________________
This is Juan (https://juan.tw)
I'd like to be a teardrop,
To be born in your eye,
To live my life on your cheek,
And on your lips to die.
 回頂端 »
檢視會員個人資料 發送私人訊息 參觀發表人的個人網站 雅虎訊息通 MSN Messenger ICQ 號碼
從之前的文章開始顯示:   
UnixCafe 首頁 » freeBSD » Clamav 0.95 + Sendmail 升級 issue
發表新主題   回覆主題 所有的時間均為 台北時間 (GMT + 8 小時)
1頁(共1頁)

 
前往:  
無法 在這個版面發表文章
無法 在這個版面回覆文章
無法 在這個版面編輯文章
無法 在這個版面刪除文章
無法 在這個版面進行投票
You cannot attach files in this forum
You can download files in this forum




Solaris phpBB theme/template by Jakob Persson
Copyright © Jakob Persson 2003



Powered by phpBB 2.0.11 © 2001, 2002 phpBB Group
正體中文語系由 phpbb-tw 維護製作