Re: [EXIM] EHLO? hWats aHppening?

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Sherwood Botsford
CC: Exim List
Subject: Re: [EXIM] EHLO? hWats aHppening?
On Tue, 3 Feb 1998, Sherwood Botsford wrote:

>
> It seems that other machines are having trouble with EHLO on
> my host. The only mention EHLO has in the doc is on page 176,
> where it's just mentioned in passing.
>
> >From reject log:
> -----------------------------------------------------------------------------
> 1998-02-02 16:12:52 rejected MAIL FROM from relay.phys.ualberta.ca [129.128.7.23
> 8]: no HELO/EHLO given
> ------------------------------------------------------------------------------


That will happen only if you have set the helo_verify option.

> 24931H0004361421r       550 HELO or EHLO is required for this host


That's the error message...

> Your mailer doesn't support multiple messages in the same SMTP transaction!
> If it supports EHLO then is should have this functionality...


Oops. There is a bug which shows up if you have got helo_verify set.

I suggest you turn off helo_verify until the bug is fixed. Below is a
patch that should fix it.

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



*** exim-1.82/src/smtp_in.c Fri Dec 19 10:37:18 1997
--- smtp_in.c    Wed Feb  4 09:27:02 1998
***************
*** 40,45 ****
--- 40,47 ----
  static BOOL sender_allow_relay_anywhere;
  static BOOL sender_allow_relay_anywhere_set;


+ static BOOL helo_seen;
+
static BOOL host_refuse_all_rcpts;
static BOOL sender_refuse_all_rcpts;

***************
*** 637,643 ****
int done = 0;
int rcount = 0;
BOOL toomany = FALSE;
- BOOL helo_seen = FALSE;
char rbl_msg_buffer[128];

  DEBUG(2) debug_printf("smtp_setup_msg entered\n");
--- 733,738 ----
***************
*** 660,665 ****
--- 755,761 ----
    {
    char *p, *s;


+   helo_seen = FALSE;
    received_protocol = "smtp";        /* Reset later if EHLO is received */
    host_allow_relay_anywhere_set = FALSE;
    host_refuse_all_rcpts = FALSE;



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