Adam Michaud [mailto:[EMAIL PROTECTED]] wrote:
> I'm experimenting with smtp-poplock to provide smtp-after-pop. Looks to
> be working like a charm (thanks, David!), but I've got a question about
> the smtp-poplock.static_allowed file -- specifically, are wildcards
> (or addresses with netmasks) allowed here? For example, could I do any
> of the following (if 12.34.56.* were a class C that I owned):
>
> 12.34.56.
> 12.34.56.*
> 12.34.56.0/24
>
> to specify the entire range of addresses in that class C network?
>
> The output of "showallowed" heads the IP address column with "ipaddr (and
> netmask)", which makes me think that something like this is possible, but
> I'm not sure what the syntax would be.
Yes, in the smtp-poplock.static_allowed you can specify an address and netmask
in the form:
12.34.56.0/24
12.34.56.0/255.255.255.0
or you can just specify the address without a netmask.
- David Harris
Principal Engineer, DRH Internet Services