On 11/13/09 10:22, Urs Weiss wrote:
>>> I found another "bug" (not really a bug, more usability)
>>>
>>> I recognized that after i imported my whitelist directly into the
>>> database. Somehow there was an invalid entry in there. First thought
>>> that can not happen when using the interface (because the address is
>>> checked then), but it's also possible with the interface.
>>>
>>> Adding an entry like "127.0/24" (or whatever, can also add "sdfsdf") the
>>> mail processing stops with a "450 - Recipient address rejected" and
>>> "Failed to parse address".
>>>
>>> An invalid IP address should be skipped, and not make the check fail,
>>> and should also be checked by the web interface.
>>
>> Hi Urs,
>>
>> Please try out the attached patch and let us know if it solves the problem.
>>
>> - Robert
>
> Hi Robert,
>
> f.ex. "sdfsdfs" does not work.
>
> For one of my OSS project i made a regex which matches an IP address:
>
> ^(25[0-5]|2[0-4]\d|1\d\d|\d?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|\d?\d)){3}$
>
> This exactly checks a valid IP address without any netmask (but can
> easily be added) Maybe this helps for a better checking.
>
> Urs

We are working on the problem and will get back to you shortly.

- Robert

_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users

Reply via email to