Autor: Rafał Kupka Data: Para: exim-users Assunto: Re: [exim] MX name with _ : all relevant MX records point
tonon-existent hosts
On Thu, Apr 23, 2009 at 10:25:03AM +0200, Jakob Hirsch wrote:
Hi,
> If you are more interested in operability than than compliance to
> arbitrary decisions, you can allow it in Exim by overriding
> dns_check_names_pattern in the config's main section. The default is, as
> stated in the spec:
>
> (?i)^(?>(?(1)\.|())[^\W_](?>[a-z0-9/-]*[^\W_])?)+$
>
> The regex is probably not easy to understand (took me also a while). It
> should be ok to add the _ in the middle list:
>
> (?i)^(?>(?(1)\.|())[^\W_](?>[a-z0-9/-_]*[^\W_])?)+$
There is small error in regexp above. Character '-' in regexp ranges
have to be last one before closing ']'.