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. |
|