[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gentoojp-users 881] amavis sylpheed



竹島です

http://www.tanu.org/~sakane/doc/public/howto-clamav.html
みて、
emerge amavisしました。
すると
gentoo root # tail /etc/passwd
clamav:x:1003:1002:added by portage for clamav:/dev/null:/bin/false
amavis:x:1004:1003:added by portage for amavis:/dev/null:/bin/false

gentoo root # tail /etc/group 
clamav:x:1002:
amavis:x:1003:
となります。

gentoo root # /etc/init.d/clamd restart
  [ ok ]ing freshclam...
 * Starting freshclam...
  [ ok ]working dir is /usr/share/clamav
です。


cat /etc/crontabは
#--------------------------------
1 1  * * *      root    /usr/bin/freshclam  定義ファイルの更新
2 2  * * *      root    /usr/bin/clamscan -r --remove /home/ foge/Mail ヴィルス感染ファイルの除去
です

/usr/bin/clamscan -r /home/foge/Mailすると
----------- SCAN SUMMARY -----------
Known viruses: 10278
Scanned directories: 39
Scanned files: 1902
Infected files: 6
Data scanned: 2.90 Mb
I/O buffer size: 131072 bytes
Time: 17.973 sec (0 m 17 s)
と 感染ファイルの数を知らせてくれます。


メールサーバーは別のPCで動かしてますので
sylpheedで全受信した後
/usr/bin/clamscan -r --remove /home/foge/Mail
でヴィルス感染ファイルの除去という作業になります。
sylpheedのどこかをいじると 自動除去というふうにはならないものでしょうか?