Re: [exim] CIDR mask matching behavior

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Morgan Gangwere
日付:  
To: exim-users
題目: Re: [exim] CIDR mask matching behavior
On 9/14/2010 8:42 PM, Brent Jones wrote:
> ${mask:$sender_host_address/24} is 10.10.10.15/24
> Will not evaluate true,


I'd hope it doesn't...

>but it will work in the following:
> ${mask:$sender_host_address/24} is 10.10.10.0/24

I'd check your knowledge of CIDR notation...

Here's what you're saying:

If you say "Match anything in the 10.10.10.0 network with the first 24
bits as network bits" it works.
However, if you say "Match anything in the 10.10.10.15 network with the
first 24 bits ans network bits" it doesn't work.

that's because 10.10.10.15 w/ netmask 255.255.255.0 isn't a network
address.

/me puts his CISCO Network Fundamentals coursebook back on its shelf.

--

Morgan Gangwere

>> Why?
> Because it breaks the logical flow of conversation, plus makes

messages unreadable.
>>> Top-Posting is evil.