2009/4/23 Rafał Kupka <[email protected]>:
> 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: [email protected]
Follow me on Twitter: twitter.com/peeebeee

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to