Re: [exim] MX name with _ : all relevant MX records point to…

Pàgina inicial
Delete this message
Reply to this message
Autor: Rafał Kupka
Data:  
A: exim-users
Assumpte: 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 ']'.

(?i)^(?>(?(1)\.|())[^\W_](?>[a-z0-9/_-]*[^\W_])?)+$

But "helo_allow_chars = _" in main section of exim.conf is much simpler
solution (as someone else said already).

Regards,
Kupson
--
Great software without the knowledge to run it is pretty useless.
(Linux Gazette #1)