Re: [EXIM] Clarification on helo_verify

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: James FitzGibbon
CC: exim-users
Subject: Re: [EXIM] Clarification on helo_verify
On Fri, 24 Jul 1998, James FitzGibbon wrote:

> I have
>
> helo_verify
> helo_verify_except_nets = "204.92.54.120/32"
>
> in my config file. The host 204.92.54.120 connects, but does not send a
> HELO/EHLO. Should exim not accept the connection ? Right now it is being
> refused with this message:
>
> 550 HELO or EHLO is required for this host


This is a bug. Thanks for the report. Patch for Exim 2.01 below.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



*** exim-2.01/src/smtp_in.c Thu Jul 16 13:48:42 1998
--- smtp_in.c    Mon Jul 27 09:11:54 1998
***************
*** 1623,1629 ****



      case MAIL_CMD:
!     if (helo_verify && !helo_seen && !sender_host_unknown)
        {
        DEBUG(3) debug_printf("550 HELO or EHLO is required for this host\n");
        fprintf(smtp_out, "550 HELO or EHLO is required for this host\r\n");
--- 1623,1633 ----



      case MAIL_CMD:
!     if (helo_verify && !helo_seen && !sender_host_unknown &&
!         !verify_check_host(helo_verify_except_hosts,
!                           &helo_verify_except_hostlist, FALSE) &&
!         !verify_check_net(helo_verify_except_nets,
!                           &helo_verify_except_netlist))
        {
        DEBUG(3) debug_printf("550 HELO or EHLO is required for this host\n");
        fprintf(smtp_out, "550 HELO or EHLO is required for this host\r\n");



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