Customized spam actions.

Julian Field mailscanner at ecs.soton.ac.uk
Tue Jan 20 16:24:27 GMT 2004


Correct.
But I would advise you change "To: default deliver" to "FromOrTo: default
deliver" as otherwise there is no result specified for any From address.
The default line should always say "FromOrTo:" and never just one or the other.

At 16:21 20/01/2004, you wrote:
>Just a quick question on this old topic...
>
>if I setup a rules file that looks like this:
>
>To: user1 at test.com delete
>To: default deliver
>
>Will this make it so that everyone other than user1 at test.com will still get
>their spam?
>
>Essentially, only user1 will notice anything has changed, right?
>
>Chris
>
>
>----- Original Message -----
>From: "Julian Field" <mailscanner at ECS.SOTON.AC.UK>
>To: <MAILSCANNER at JISCMAIL.AC.UK>
>Sent: Friday, January 09, 2004 10:42 AM
>Subject: Re: Customized spam actions.
>
>
> > At 16:12 09/01/2004, you wrote:
> > >Hi,
> > >Is it possible to customize the spam actions by email or by domain ?
> >
> > Yes, using a ruleset. Please read /etc/MailScanner/rules/*
> >
> > >Example 1: The owner of the mailboxl user1 at test.com wants that all its
>email
> > >messages marked as spam be bounced, but the owner of the mailbox
> > >user2 at test.com wants a deliver of its spam messages.
> >
> > To: user1 at test.com bounce
> > To: user2 at test.com deliver
> >
> > >Example 2: I want the spam action delete for all the spam detected mails
> > >delivered to the domain @dom1.com, but the action deliver for the domain
> > >@dom2.com.
> >
> > To: dom1.com delete
> > To: dom2.com deliver
> >
> > >Is it possible ?
> > >I know that it is possible for the virus scan especify which domains or
> > >mailboxes will have its email messages scaned using a filename rules, but
>is
> > >it possible too for the spam maked messages ?
> >
> > Rulesets apply to virtually all configuration options, as given in the
> > comment immediately before each configuration option.
> > --
> > Julian Field
> > www.MailScanner.info
> > MailScanner thanks transtec Computers for their support
> >
> > PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> >
> >

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654



More information about the MailScanner mailing list