Spam.whitelist.rules file question

Quentin Campbell Q.G.Campbell at NEWCASTLE.AC.UK
Thu Feb 6 10:40:10 GMT 2003

> -----Original Message-----
> From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK] 
> Sent: 30 January 2003 12:28
> Subject: Re: Spam.whitelist.rules file question
> At 12:21 30/01/2003, you wrote:
> >So you are saying that he needed to put 
> instead or in 
> >addition to?
> Instead.
> Normally the thing in the rule is (a pattern matching) the 
> email address. But if it doesn't contain any letters, it 
> interprets it as (a pattern
> matching) the IP address.


Is the ~MailScanner/etc/rules/EXAMPLES file correct?

In its "Spam WhiteList" examples it gives:

From:     123.234.                            yes
From:     /^192\.168\.6[4567]/                yes

Assuming the first line specifies a Class B address range then that
should allow for addresses to be whitelisted.

If the second line specifies a Class C address range then that pattern
should allow for addresses (say) but as there is no
terminating "." would that pattern work as expected? That is, I think it
should read:

From:     /^192\.168\.6[4567]\./              yes
PHONE: +44 191 222 8209    Computing Service, University of Newcastle
FAX:   +44 191 222 8765    Newcastle upon Tyne, United Kingdom, NE1 7RU.
"Any opinion expressed above is mine. The University can get its own." 

More information about the MailScanner mailing list