MailScanner error: Can’t find find clamavBusy.lock

本笔记记录freebsd8.2版本下ports方案安装mailscanner后出现Can’t find find clamavBusy.lock错误信息的解决方案。本笔记虽然是在FreeBSD8.2系统上测试通过,其中多数内容也适合各个Linux发行版本以及各个BSD分支,在其他系统上只需要做少量调整。

提示以下错误信息:

Jul 28 14:41:02 demo MailScanner[997]: 
Cannot lock /var/spool/MailScanner/incoming/Locks/clamavBusy.lock, No such file or directory

解决步骤:

[root@www.itkylin.com ~]#chown -R postfix:postfix /var/spool/MailScanner/incoming/Locks
[[email protected] ~]#/usr/local/etc/rc.d/mailscanner restart