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:           *@*       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" <news at>
To:  <xxx at>
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:                  yes
> >Why doesn't this rule include any possible combination of e-mail
> >adresses and hosts within the domain? I'd think that by
> >whitelisting I would have whitelisted both whoever at
> >as well as whoever at
> No, "" is shorthand for
>          *
> If you want to whitelist all hosts within the domain, then you need
> to add a rule matching
>          *@*
> as well.
> >What would I need to add to get a wildcard like *@* ?
> Exactly that:
>          *@*
> >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
> 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