How to properly whitelist.

Remco Barendse mailscanner at BARENDSE.TO
Tue Dec 17 22:07:16 GMT 2002


Aaaargh!! It's still not working as I would expect.

I have this in MailScanner.conf
Is Definitely Not Spam = /etc/MailScanner/rules/spam.whitelist.rules
/etc/MailScanner/rules/spam.whitelist.rules contains:
From:           *@*.greenpeace.nl       yes
FromTo:         default                 no
(with TABS in between the columns)

And this is what I got in pine:

Date: Tue, 10 Dec 2002 14:39:44 +0100
From: "news at greenpeace.nl" <news at greenpeace.nl>
To:  <xxx at barendse.to>
Subject: {Spam?} E-mail actie: wrakke tankers uit de vaart!

Where am I going wrong?

When I start adding the domains that the message has gone through as they
appear in the maillog things sometimes seem to work. But adding the domain
of the e-mail address as presented to you doesn't do the trick. Could that
be a bug in MailScanner?



On Mon, 9 Dec 2002, Julian Field wrote:

> At 21:43 09/12/2002, you wrote:
> >Hmm, I still don't quite get it, now I'm totally lost :)
> >
> >I included the following line in my spam.whitelist.rules list:
> >From:           klm.com                 yes
> >Why doesn't this rule include any possible combination of e-mail
> >adresses and hosts within the klm.com domain? I'd think that by
> >whitelisting klm.com I would have whitelisted both whoever at klm.com
> >as well as whoever at wherever.klm.com
>
> No, "klm.com" is shorthand for
>          *@klm.com
> If you want to whitelist all hosts within the klm.com domain, then you need
> to add a rule matching
>          *@*.klm.com
> as well.
>
> >What would I need to add to get a wildcard like *@*.klm.com ?
>
> Exactly that:
>          *@*.klm.com
>
> >Maybe it's a good idea to give ample examples in the rules list that is
> >included in mailscanner by default as there seem to be quite a few
> >questions about it?
>
> It's okay once you get the hang of it :-)
> But point taken. Have you read the "EXAMPLES" and "README" files in the
> rules directory provided in the distribution? Did they help? All
> contributions of things to add to these files would be most welcome.
> --
> Julian Field
> www.MailScanner.info
> MailScanner thanks transtec Computers for their support
>
>



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


.



This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses
***********************************************************************************



More information about the MailScanner mailing list