Archiving e-mail ruleset

Quentin Campbell Q.G.Campbell at NEWCASTLE.AC.UK
Thu Jan 9 09:41:42 GMT 2003


> -----Original Message-----
> From: Julian Field [mailto:mailscanner at ecs.soton.ac.uk] 
> Sent: 08 January 2003 23:34
> To: MAILSCANNER at JISCMAIL.AC.UK
> Subject: Re: Archiving e-mail ruleset
> 
> 
> At 14:42 08/01/2003, you wrote:
> >I'm a bit lost here, I want to archive e-mail that certain 
> users send 
> >so I created a ruleset.
> >
> >Now I'm not sure what the below means, where do I put the 
> ruleset and 
> >where do I put the directory to archive mail? Is this the comma 
> >separated list or did I overlook something?
> >
> ># Space-separated list of email address and directory names 
> where you 
> >want # a copy of all mail to be forwarded or stored. #
> ># If you give this option a ruleset, you can control exactly 
> whose mail
> ># is archived or forwarded. If you do this, beware of the legal
> >implications
> ># as this could be deemed to be illegal interception unless 
> the police
> >have
> ># asked you to do this.
> >Archive Mail = /var/spool/MailScanner/archive
> 
> Set
>          Archive Mail = /etc/MailScanner/rules/archive.mail.rules
> And then in that file put things like
> From: user1 at yourdomain.com      /var/spool/MailScanner/archive/user1
> From:   user2 at yourdomain.com    /var/spool/MailScanner/archive/user2
> From:   *@yourdomain.com        
> /var/spool/MailScanner/archive/otherusers
> FromOrTo:       default
> 
> So mail from user1 gets put in the user1 archive (ditto for 
> user2). Mail from any other address in your domain gets put 
> in the "otherusers" archive. No other mail is archived (which 
> is why the default is blank).
> --
> Julian Field
> www.MailScanner.info
> MailScanner thanks transtec Computers for their support
> 

Directories specified in the Archive rules file must be created _before_
they are first used. The Archive facility does not create them for you.

MailScanner will object if it tries to archive a message and the
specified directory is not there. 

Quentin
---
PHONE: +44 191 222 8209    Computing Service, University of Newcastle
FAX:   +44 191 222 8765    Newcastle upon Tyne, United Kingdom, NE1 7RU.
------------------------------------------------------------------------
"Any opinion expressed above is mine. The University can get its own." 




More information about the MailScanner mailing list