Lähettäjä: Peter Bowyer Päiväys: Vastaanottaja: exim-users Aihe: Re: [exim] MX name with _ : all relevant MX records point to
non-existent hosts
2009/4/23 Rafał Kupka <rkupka+Listy.Exim@???>: > 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).
They, and you, are both guilty of not reading the question. The
problem posted is related to the underscore character in the hostname
of a domain's MX record, and the inability to send mail to that
domain. Nothing to do with HELO and receiving mail from that domain.
--
Peter Bowyer
Email: peter@???
Follow me on Twitter: twitter.com/peeebeee