<div dir="ltr"><div>Did what you ask no difference do<br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/18 Carlos Raśl Laguna <span dir="ltr">&lt;<a href="mailto:carlosla1987@gmail.com" target="_blank">carlosla1987@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks for the fast reply</div><div>all i get is <br></div><div><br></div><div>Can&#39;t call method &quot;close&quot; on an undefined value at /usr/sbin/mailscanner_create_locks line 47.<br>
Error: Attempt to create locks in /var/lock/MailScanner failed!<br>
Can&#39;t set GID 33 at /usr/sbin/MailScanner line 1541.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/18 Martin Hepworth <span dir="ltr">&lt;<a href="mailto:maxsec@gmail.com" target="_blank">maxsec@gmail.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Make youve turned off selinux<div><br></div><div>Also run the debug as the postfix user<br>  </div>
<div><br></div><div>
Martin</div><div><div><div><span></span><br>On Thursday, 18 April 2013, Carlos Raśl Laguna  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<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>
</blockquote></div><br><br></div></div><span><font color="#888888">-- <br>-- <br>Martin Hepworth, CISSP<br>Oxford, UK<br>
</font></span><br></div></div><div class="im">--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
<br></div></blockquote></div><br></div>
</blockquote></div><br></div>