Archiving Mail

Alex Short alex at IALEX.NET
Fri Nov 8 13:49:28 GMT 2002


Julian,

When putting these parameters in the ruleset the email is still getting
forwarded because it matches.

ie.

FromTo: alex at domain.com no
FromTo: *@domain.com archive at domain.com

email to alex at domain.com is still getting forwarded.

Alex
> At 04:22 08/11/2002, you wrote:
> >There is an option in MailScanner.conf after version 4.02-1.  Can't
> >remember the name of the option though.
>
> # When you quarantine an entire message, do you want to store it as
> # raw mail queue files (so you can easily send them onto users) or
> # as human-readable files (header then body in 1 file)?
> Quarantine Whole Messages As Queue Files = no
>
> >Rulesets are configured top to bottom.  So put a line that says
> >
> >notme at domain.com                no
> >@domain.com                     /var/archive
> >
> >Or however something along those lines.
>
> Very nearly, you just forgot the direction off the front. So possibly you want
> FromTo:         notme at domain.com        no
> FromTo:         *@domain.com                  /var/archive
> FromTo:         default                                 no
>
> "FromTo:" will match any message coming from the address or going to it.
> You will have to restart MailScanner (or kill -HUP all the processes) to
> force it to re-read the configuration files and recompile the rulesets.
>
> >-----Original Message-----
> >From: Alex Short [mailto:alex at IALEX.NET]
> >Sent: Thursday, November 07, 2002 8:01 PM
> >To: MAILSCANNER at JISCMAIL.AC.UK
> >Subject: Re: Archiving Mail
> >
> >
> >Ah yes, now i see it :)
> >
> >Two questions-- any way to save it in one file/message, (ie not qf+df)
> >Also, is there a way to do *@domain.com /var/archive but not for
> >notme at domain.com
> >
> >?
> >
> >Alex
> >----- Original Message -----
> >From: "S Mohan" <smohan at vsnl.com>
> >To: <MAILSCANNER at JISCMAIL.AC.UK>
> >Sent: Thursday, November 07, 2002 9:54 PM
> >Subject: Re: Archiving Mail
> >
> >
> > > In the archiving mail option, give a ruleset name. Say
> > > /etc/MailScanner/rules/archive.rules. This file must have the
> > > following entries.
> > >
> > > To:     <emailid as user@* or *@domainname etc> emailid or directory.
> > > From: similar as above.
> > >
> > > In this manner, you can copy incoming and out going mails for each
> > > user or domain to email ids. If directory name is given, MailScanner
> > > stores in qf+df format. If email id is given, the mail gets delivered
> > > to the mailbox. You can use which ever is useful.
> > >
> > > Mohan
> > >
> > >
> > > -----Original Message-----
> > > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> > > Behalf Of Alex Short
> > > Sent: Friday, November 08, 2002 3:34 AM
> > > To: MAILSCANNER at JISCMAIL.AC.UK
> > > Subject: Archiving Mail
> > >
> > >
> > > For the archiving of mail feature, how can you archive some users and
> > > not others.  The only option i have seen is *where* to save the
> > > archived email.
> > >
> > > Alex
> > >
> > >
> > >
>
> --
> Julian Field                Teaching Systems Manager
> jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
> Tel. 023 8059 2817          University of Southampton
>                              Southampton SO17 1BJ
>
>
>



More information about the MailScanner mailing list