Re: [Exim] receiver_verify_*

Top Page
Delete this message
Reply to this message
Author: Greg Ward
Date:  
To: David Corbin
CC: exim-users
Subject: Re: [Exim] receiver_verify_*
On 03 October 2001, David Corbin said:
> I think that adding:
>
> receiver_verify_addresses=^!((192.168.100.\d{1,3})|(x.y.z.(49|50|51|52|53|54
> |56|57|58|59|60|61|62|63)))


Ouch! There are some things regexes were not meant to do.

> will match all machines that are not on one of the two following networks:
> 192.168.100.0/24 and x.y.z.48/28
>
> Does that look right to you? Is there a better way to do this?


There certainly is. How about

receiver_verify_addresses= = !192.168.100.0/24

for a start? The x.y.z.48/24 thing looks really fishy: do you really
want to allow non-verified sender addresses from any IP address that
happens to end in 49 .. 63? (If I'm reading that right.)

        Greg
-- 
Greg Ward - software developer                gward@???
MEMS Exchange                            http://www.mems-exchange.org