> > 1) User logs in to imap from 192.168.0.1. What is foo's value? > > > > protocol imap { > > remote_ip 192.168.0.0/16 { > > foo = foo > > } > > } > > remote_ip 192.168.0.0/24 { > > foo = bar > > } > > This one is easy. It should be foo in any case :-)
Why? /24 is more specific than /16, but protocol imap is more specific than (implicit) protocol any. I assume this is why Timo included this example. Gr. Matthijs
signature.asc
Description: Digital signature