Prombem with rule actions

Julian Field MailScanner at ecs.soton.ac.uk
Mon Sep 3 19:14:00 IST 2007



Gareth wrote:
> 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?
>   
Yes, correct.
> If that is the case then MailScanner does not seem to be creating the
> additional 'spam' etc... subdirectories for some reason.
>   
It should always try to create them. Try creating them by hand and see 
if it puts anything in them. Make sure you give them permissions which 
are generous enough.
> 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.
>   
Yes, sure :-)

>   
>> -----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!
>>
>>
>>
>>     
>
>   

Jules

-- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list