Lots of mail on Hold

Carlos Raúl Laguna carlosla1987 at gmail.com
Thu Apr 18 21:49:31 IST 2013


Thanks for the fast reply
all i get is

Can't call method "close" on an undefined value at
/usr/sbin/mailscanner_create_locks line 47.
Error: Attempt to create locks in /var/lock/MailScanner failed!
Can't set GID 33 at /usr/sbin/MailScanner line 1541.




2013/4/18 Martin Hepworth <maxsec at gmail.com>

> Make youve turned off selinux
>
> Also run the debug as the postfix user
>
>
> Martin
>
> On Thursday, 18 April 2013, Carlos Raúl Laguna wrote:
>
>>
>> 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
>>
>> LibClamAV Error: cli_scanhtml: Can't create temporary directory
>> /var/spool/MailScanner/incoming/SpamAssassin-Temp/fileZu9PiO/clamav-dfeb188c6d93ac33695b6db46175629e
>> LibClamAV Error: cli_scanhtml: Can't create temporary directory
>> /var/spool/MailScanner/incoming/SpamAssassin-Temp/fileZu9PiO/clamav-0973cd1b961c3f9d0c42a72a271a3579
>>
>> plugin: eval failed: bayes: (in learn) locker: safe_lock: cannot create
>> lockfile /var/lib/MailScanner/bayes.mutex: Permission denied
>> plugin: eval failed: bayes: (in learn) locker: safe_lock: cannot create
>> lockfile /var/lib/MailScanner/bayes.mutex: Permission denied
>>
>> It looks like permission issue but no enteraly shure about that had
>> change the user from where runnig clamav without any good outcome
>>
>> grep -i postfix MailScanner.conf | grep -v ^#
>> Run As User = postfix
>> Run As Group = postfix
>> Incoming Queue Dir = /var/spool/postfix/hold
>> Outgoing Queue Dir = /var/spool/postfix/incoming
>> MTA = postfix
>>
>> Any help here would be really appreciated. Thanks for your time.
>>
>
>
> --
> --
> Martin Hepworth, CISSP
> Oxford, UK
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20130418/c0608d65/attachment.html 


More information about the MailScanner mailing list