55a56
> void err_wanthelo() { out("503 Must say HELO first\r\n"); }	/* Added by Darrell Wright */
220a222
> int seenhelo = 0;
228c230
<   seenmail = 0; dohelo(arg);
---
>   seenhelo = 1; seenmail = 0; dohelo(arg);
233c235
<   seenmail = 0; dohelo(arg);
---
>   seenhelo = 1; seenmail = 0; dohelo(arg);
241a244
>   if (!seenhelo) { err_wanthelo(); return; }
