<div dir="ltr"><div>Thanks for the fast reply</div><div>all i get is <br></div><div><br></div><div>Can't call method "close" 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'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"><<a href="mailto:maxsec@gmail.com" target="_blank">maxsec@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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 class="HOEnZb"><div class="h5"><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't create temporary directory /var/spool/MailScanner/incoming/SpamAssassin-Temp/fileZu9PiO/clamav-dfeb188c6d93ac33695b6db46175629e<br>
LibClamAV Error: cli_scanhtml: Can'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 class="HOEnZb"><font color="#888888">-- <br>-- <br>Martin Hepworth, CISSP<br>Oxford, UK<br>
</font></span><br>--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">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></blockquote></div><br></div>