Multiple Whitelists
Dan Williamson
danw at NORCOMCABLE.CA
Thu Apr 15 18:20:35 IST 2004
In my case I have done this,
FromandTo: /etc/MailScanner/rules/filter.spam.check no
Where filter.spam.check contains, line by line.
/(whoever at somedomain.com|someone at domain.tld)/
Would this be better done with your example.
I don't think my FromandTo: statement would work in the rules file with your
example.
So would you just put in the rules file,
/etc/MailScanner/rules/filter.spam.check
then in the filter.spam.check file,
From: whoever at somedomain.com and To: someone at domain.tld yes
thanks,
-dan
-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
Of Julian Field
Sent: April 15, 2004 12:12 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Multiple Whitelists
At 18:00 15/04/2004, you wrote:
>In this example can /etc/MailScanner/rules/filter.spam.check.rules contain:
>
>whoever at somedomain.com and someone at domain.tld
>
>1 per line?
It has to look like a normal rule, so would look like perhaps
From: whoever at somedomain.com and To: someone at domain.tld yes
> > -----Original Message-----
> > From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK]On
> > Behalf Of Julian Field
> > Sent: Thursday, April 15, 2004 12:09 PM
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: Re: Multiple Whitelists
> >
> >
> > At 16:39 15/04/2004, you wrote:
> > > Interesting. So this provides you with the effect of
> > maintaining multiple
> > >lists, in that you can have something along these lines:
> > >
> > >in spam.check.rules
> > >
> > >From: *@redhat.com no
> > >To: /etc/MailScanner/rules/disable.spam.check.rules no
> > >To: /etc/MailScanner/rules/domain1.spam.check.rules no
> > >To: /etc/MailScanner/rules/domain2.spam.check.rules no
> > >FromandTo: /etc/MailScanner/rules/filter.spam.check.rules no
> >
> > Dangerous to call the files *.check.rules as they aren't actually
> > rulesets, they are just lists of addresses, 1 per line, to which
> > that rule applies.
> >
> > >FromTo: default yes
> > >
> > >Now, my next questing is, can I take this same theory and
> > apply it to Is
> > >Definitely Not Spam =, whereby the ruleset determined in the
> > above would
> > >simply be a list of additional rulesets?
> >
> > No, they aren't rulesets, as above.
> >
> >
> > >Thanks for the help.
> > >
> > >Ronnie Regev
> > >www.daslwb.com
> > >
> > >
> > >-----Original Message-----
> > >From: MailScanner mailing list
> > [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
> > >Of Dan Williamson
> > >Sent: Thursday, April 15, 2004 10:54 AM
> > >To: MAILSCANNER at JISCMAIL.AC.UK
> > >Subject: Re: [MAILSCANNER] Multiple Whitelists
> > >
> > >This might be helpful. I do the following.
> > >
> > >
> > >in Mailscanner.conf
> > >
> > >Spam Checks = /etc/MailScanner/rules/spam.check.rules
> > >
> > >
> > >in spam.check.rules
> > >
> > >From: *@redhat.com no
> > >To: /etc/MailScanner/rules/disable.spam.check.rules no
> > >FromandTo: /etc/MailScanner/rules/filter.spam.check.rules no
> > >FromTo: default yes
> > >
> > >
> > >regards,
> > >-dan
> > >
> > >
> > >-----Original Message-----
> > >From: MailScanner mailing list
>[mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf
> >Of Ronnie Regev
> >Sent: April 15, 2004 9:45 AM
> >To: MAILSCANNER at JISCMAIL.AC.UK
> >Subject: Multiple Whitelists
> >
> >Hello,
> >I would like to maintain multiple whitelists. i am running
> >mailscanner 3.5 on an Ensim webppliance 3.5.17
> >
> >can i simply point
> >Is Definitely Not Spam =
> >to multiple file names, such as
> >
> >Is Definitely Not Spam
> >= /etc/MailScanner/rules/spam.whitelist.rules
>/etc/MailScanner/rules/spam.w
> >hitelist.rules.2
> >
> >or must this feature be configured
> >through /usr/lib/MailScanner/MailScanner/CustomConfig.pm.
> >If so, what do i do with CustomConfig.pm (how would i initiate
> >changes, apply them, modify the file properly etc ...)
> >
> >thanks, and excuse me if the last question is amteurish, im reluctant
> >to modify this server.
> >
> >Ronnie Regev.
> >www.daslweb.com
>
>--
>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
Professional Support Services at www.MailScanner.biz 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