What creates the quarantine folder each day.

Brad McLean brad.mclean at cloudtechinc.com
Wed Apr 28 23:04:43 IST 2010


I do you mailwatch.  I was able to fix the problem.  It turns out that the
permissions on the folder /var/spool/MailScanner/quarantine were incorrect.

Somehow, magically the folder owner and group were not the same as the "run
as user" and "run as group" from MailScanner.conf.  Once I did a chown on
the folder everything has been good.

I appreciate everyone's help.

Brad

From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Neil
Sotheby
Sent: Wednesday, April 28, 2010 4:08 PM
To: MailScanner discussion
Subject: RE: What creates the quarantine folder each day.

Do you use mailwatch?
I seem to remember there's a way to fix this in one of the tutorials. Seem
to think it was an ubuntu issue now I think about it though! 


Neil

> Date: Tue, 27 Apr 2010 15:41:38 +0100
> From: MailScanner at ecs.soton.ac.uk
> To: mailscanner at lists.mailscanner.info
> Subject: Re: What creates the quarantine folder each day.
> 
> It's created at the start of sub StoreInfections in 
> /usr/lib/MailScanner/MailScanner/Quarantine.pm.
> In other words, MailScanner itself creates the <current date> directory.
> 
> On 27/04/2010 15:27, Brad McLean wrote:
> > We have been running 2 MailScanner servers for the past 8 months without
any
> > trouble. Over the past week we have been experiencing trouble with the
> > inbound mailq piling up. As best I can tell, at midnight each night some
> > process creates the folder /var/spool/MailScanner/quarantine/<current
date>.
> > If the folder does not exist then the MailScanner process all show as
> > <Defunct> and the queue builds up. I manually create the folder and set
the
> > proper ownership and the MailScanner processes start to process the
mailq.
> >
> > We are running CentOs 5.3 with MailScanner 4.75.11 with Postfix MTA.
> >
> > If I could figure out what creates this folder each day I may be able to
> > solve the issue. I suspect that it probably is permissions stopping it
from
> > being created but I have not found anything in any log.
> >
> > Any help would be greatly appreciated.
> >
> > Thanks
> > Brad
> >
> >
> > 
> 
> Jules
> 
> -- 
> Julian Field MEng CITP CEng
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
> 
> Need help customising MailScanner?
> Contact me!
> Need help fixing or optimising your systems?
> Contact me!
> Need help getting you started solving new requirements from your boss?
> Contact me!
> 
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> Follow me at twitter.com/JulesFM and twitter.com/MailScanner
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> -- 
> 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! 
________________________________________



More information about the MailScanner mailing list