Re: [EXIM] HELO: syntactically invalid argument

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Daniel Ryde
CC: Exim Users
Subject: Re: [EXIM] HELO: syntactically invalid argument
On Thu, 22 Jan 1998, Daniel Ryde wrote:

> We are getting numerious rejects due to invalid characters in the HELO
> argument:
> 1998-01-22 08:17:24 rejected HELO: syntactically invalid argument(s): ma_pc.domain.se
>
> Unfortunaley Microsoft Mail for Windown 3.1x atomatically puts an
> underscore (_) in the host field (surprise? Nahhh. Is there any
> setting where you can change this? Nope!).
> So, is it possible to enable this character in the HELO argument?


Not at the moment, without changing the code. But there is an item on my
work list to do something about it. At the moment, you have to modify
line 1114 of smtp_in.c, which reads

        if (!isalnum((uschar)*s) && *s != '.' && *s != '-')


Change the test for a bad character to whatever you want.

-- 
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714



--
*** Exim information can be found at http://www.exim.org/ ***