Matt Kettler wrote:

> Per Jessen wrote:
>> Occasionally I'd like to do something like this:
>>
>> whitelist_from_rcvd *@domain.fr /^smtp[0-9]+\.orange\.fr$/
>>

> One problem.. That involves a regex, but whitelist_from is a "regular
> user" config option.
>
> In general, regular expressions are intentionally not used in "regular
> user" options due to the potential for a to possibly exploit the
> system. (this is why user_prefs can't contain rules unless you define
> allow_user_rules).
>
> So, SA actually went out of its way to prevent that from being
> allowed.


Yes, I saw that in the code - still, having a whitelist_from_rcvdregex
would be very useful, people relay via their providers quite a lot. I
guess I'll have to write something up.


/Per Jessen, Z├╝rich