<div dir="ltr"><br><div>Hi aim using mailscanner 4.84.5-4 on ubuntu 12.04.2 an after some check MailScanner --lint give no error back, however when i run in debug mode i get this</div><div><br></div><div>LibClamAV Error: cli_scanhtml: Can&#39;t create temporary directory /var/spool/MailScanner/incoming/SpamAssassin-Temp/fileZu9PiO/clamav-dfeb188c6d93ac33695b6db46175629e<br>
LibClamAV Error: cli_scanhtml: Can&#39;t create temporary directory /var/spool/MailScanner/incoming/SpamAssassin-Temp/fileZu9PiO/clamav-0973cd1b961c3f9d0c42a72a271a3579<br></div><div><br></div><div>plugin: eval failed: bayes: (in learn) locker: safe_lock: cannot create lockfile /var/lib/MailScanner/bayes.mutex: Permission denied<br>
plugin: eval failed: bayes: (in learn) locker: safe_lock: cannot create lockfile /var/lib/MailScanner/bayes.mutex: Permission denied<br></div><div><br></div><div>It looks like permission issue but no enteraly shure about that had change the user from where runnig clamav without any good outcome</div>
<div><br></div><div>grep -i postfix MailScanner.conf | grep -v ^#<br>Run As User = postfix<br>Run As Group = postfix<br>Incoming Queue Dir = /var/spool/postfix/hold<br>Outgoing Queue Dir = /var/spool/postfix/incoming<br>MTA = postfix<br>
</div><div><br></div><div>Any help here would be really appreciated. Thanks for your time.  </div></div>