Lots of mail on Hold
Carlos Raúl Laguna
carlosla1987 at gmail.com
Fri Apr 19 00:21:08 IST 2013
Actually this is a PVS openvz so no apparmor for me,at the moment i found
this thread
http://lists.mailscanner.info/pipermail/mailscanner/2011-November/098798.html
and as hi did i comentout: *TempDir=$(mktemp) || { echo "$0: Cannot make
name for temporary dir" >&2;
exit 1; }*
*
*
and add
*TempDir=$(mktemp -d ) || { echo "$0: Cannot make name for temporary dir"
>&2; exit 1; }*
seems to workout for me too the queue amount is decreasing as we speak.
Thanks
2013/4/18 Steve Freegard <steve.freegard at fsl.com>
> How about AppArmour as you're on Ubuntu.
>
> sudo /etc/init.d/apparmor stop
>
> Does that fix it?
>
> Regards,
> Steve.
>
>
> On 18/04/13 21:57, Carlos Raúl Laguna wrote:
> > Did what you ask no difference do
> >
> > #!/usr/bin/perl -U -I/usr/share/MailScanner/
> >
> > an'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 Carlos Raúl Laguna <carlosla1987 at gmail.com
> > <mailto:carlosla1987 at gmail.com>>
> >
> > Did what you ask no difference do
> >
> >
> >
> > 2013/4/18 Carlos Raúl Laguna <carlosla1987 at gmail.com
> > <mailto:carlosla1987 at gmail.com>>
> >
> > 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
> > <mailto: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
> > <mailto: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!
> >
> >
> >
> >
> >
> >
>
>
> --
> 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/25050c58/attachment-0001.html
More information about the MailScanner
mailing list