[Dovecot] v2.0 configuration parsing
Matthijs Kooijman
matthijs at stdin.nl
Tue Aug 11 16:32:42 EEST 2009
> > 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20090811/41d0fc52/attachment.bin
More information about the dovecot
mailing list