>Curious, why not combine them and catch variants... The above will only
>catch
>Xxxx###.###.###.###.xx.xxx
>Xxxx###-###-###-###.xx.xxx
>
>But not
>Xxxx###-###.###-###.xx.xxx
>Xxxx###.###-###.###.xx.xxx
>
>Which I've seen frequently

I haven't, but if one can make it a) in one line and b) greedier, why not?

>So...Combined with an or
>
>/(.*[0-9]{1,3}[\-\.][0-9]{1,3}[\-\.][0-9]{1,3}[\-\.][0-9]{1,3}.*\..*\..*$)/
>554 ACL
>mta_clients_subscriber_joker The IP address of your sending machine is on a
>proscribed subscriber access network. Send from a non-subscriber network,
>PTR = $1

done!

to make it even more greedy, do it for only 3 octets, not 4, since I seen 
some 3-octet shorties, that would escape the 4-octet expression.

Len


>lso, are you running this filter on the list server?

maybe not the latest version.

Len


Reply via email to