Spam.whitelist.rules file question
mailscanner at ecs.soton.ac.uk
Thu Feb 6 11:05:56 GMT 2003
At 10:40 06/02/2003, you wrote:
> > -----Original Message-----
> > From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> > Sent: 30 January 2003 12:28
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: Re: Spam.whitelist.rules file question
> > At 12:21 30/01/2003, you wrote:
> > >So you are saying that he needed to put 184.108.40.206
> > 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/ yes
>Assuming the first line specifies a Class B address range then that
>should allow for 123.234.xxx.xxx addresses to be whitelisted.
>If the second line specifies a Class C address range then that pattern
>should allow for 192.168.64.xxx addresses (say) but as there is no
>terminating "." would that pattern work as expected? That is, I think it
>From: /^192\.168\.6\./ yes
You can add the "\." if you like, but no 3-digit (or more) number starting
with a 6 is less than 256 anyway, so you can't have an IP address that is,
for example, 192.168.641.123.
But yes, having the "\." makes it a bit clearer, I'll change the docs.
MailScanner thanks transtec Computers for their support
More information about the MailScanner