Prombem with rule actions

Gareth list-mailscanner at linguaphone.com
Mon Sep 3 19:06:57 IST 2007


In MailScanner.conf I have :-
Quarantine Dir = /var/spool/MailScanner/quarantine
Quarantine User = root
Quarantine Group = apache
Quarantine Permissions = 0660

However all quarantine entries are stored in the format :-
%quarantine-dir%/<<date>>/<<msgid>> and they are viruses and blocked
attachments.
I am assuming this is correct for the virus quaranteen?
If that is the case then MailScanner does not seem to be creating the
additional 'spam' etc... subdirectories for some reason.

Are you sure the format is not %quarantine-dir%/spam/<<date>>/<<msgid>> as
if that was the case it could just be the issue that the spam directory does
not exist.

> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info
> [mailto:mailscanner-bounces at lists.mailscanner.info]On Behalf Of Steve
> Freegard
> Sent: 03 September 2007 18:48
> To: MailScanner discussion
> Subject: Re: Prombem with rule actions
>
>
> Gareth wrote:
> > Understood but where are these quarantines?
> >
> > I have /var/spool/mailscanner/quaranteen which contains directories like
> > 20070803 and within that directories named according to the
> mail ID with the
> > message and any attachments within it.
> >
> > Where do each of these store options actually try to save the files?
> >
>
> >> #    store                   - store the message in the (spam)
> quarantine
>
>
> %quarantine-dir%/<<date>>/spam/<<msgid>>
>
>
> >> #    store-nonmcp            - store the message in the
> non-MCP quarantine
>
> %quarantine-dir%/<<date>>/nonmcp/<<msgid>>
>
> >> #    store-mcp               - store the message in the MCP quarantine
>
> %quarantine-dir%/<<date>>/mcp/<<msgid>>
>
> >> #    store-nonspam           - store the message in the
> non-spam quarantine
>
> %quarantine-dir%/<<date>>/nonspam/<<msgid>>
>
> >> #    store-spam              - store the message in the spam quarantine
>
> %quarantine-dir%/<<date>>/spam/<<msgid>>
>
>
> If you are having trobule with MailWatch reading these then make sure
> your permissions settings are correct (Quarantine Perms = 0660 and
> Quarantine Group = <<web server group>>) and that you are storing
> quarantined items in RFC822 format (e.g. Quarantine Messages As Queue
> Files = No) as these are the most common causes of problems.
>
> Cheers,
> Steve.
> --
> 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