CONTENTS


Lastmodified 2020-06-29 (月) 05:01:38


clamav to vscan

これまで、amavisd-new を clamav というユーザで運用してきたが、オリジナルのvscanで運用することとした。

ports のMakefileは、編集せず、これまでの/usr/local/etc/amavisd.conf の方を編集。

$max_servers = 2;            # num of pre-forked children (2..30 is common), -m
$daemon_user  = 'clamav';     # (no default;  customary: vscan or amavis), -u
$daemon_group = 'clamav';     # (no default;  customary: vscan or amavis), -g

ここを

max_servers = 2;            # num of pre-forked children (2..30 is common), -m
$daemon_user  = 'vscan';     # (no default;  customary: vscan or amavis), -u
$daemon_group = 'vscan';     # (no default;  customary: vscan or amavis), -g

に書き換え。

/var/amavis を消去。

# portupgrade -rf amavisd-new-2.12.0_1,1 && reboot

する。


Total access 797:本日 1:昨日 1

Counter: 797, today: 1, yesterday: 1

トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS