spam action

Julian Field mailscanner at
Thu Nov 6 10:26:03 GMT 2003

At 10:18 06/11/2003, you wrote:
>While this seems great - what do you do if you only want to have rules
>for some people? At our company the bosses would like to have rulesets
>for the important folk, but a blanket approach for the lower ranks.
>How would you define in a ruleset? Or could you have the regular setting
>AND a ruleset specified in mailscanner.conf ?
>To:         bounce
>To:         bounce
>To:     everyone at     deliver

Spam Actions = /etc/MailScanner/rules/spam.actions.rules

Then in /etc/MailScanner/rules/spam.actions.rules put this:

To:     vip1 at bounce
To:     vip2 at bounce
To:     *    deliver
FromOrTo:       default deliver

On each line you can specify multiple spam actions, so you might actually
want lines like
To:     vip1 at bounce store
so that you don't actually throw away mail destined for vip1.

>-----Original Message-----
>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
>Behalf Of Mike Kercher
>Sent: Thursday, 6 November 2003 3:05 PM
>Subject: Re: spam action
>You can do almost anything you want using rulesets.
>Set your Spam Action in MailScanner.conf to point to a ruleset
>In the ruleset, have something like the following:
>To:     user at delete
>To:     user2 at        striphtml deliver
>To:     user3 at        bounce
>To:     default         deliver
>Make up your own delivery rules the way you see fit.
> > -----Original Message-----
> > From: MailScanner mailing list
> > [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of damian
> > Sent: Wednesday, November 05, 2003 9:30 PM
> > Subject: spam action
> >
> > Hi,
> >
> > Like to check if there is this option to delete certain spam
> > mails,according to email add, but let the others be delivered.
> >
> > Thanks in advance,
> > Damian
> > --
> > damian <damian at>
> >

Julian Field
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