[comp.mail.mh] Problems with mh smtp

michael@dyall.ists.ca (Michael Roberts) (06/27/91)

Help.

I'm having some problems getting mh (6.7.1.10) to communicate with a
smtp process.  Here's some background info:

Platform: Sun 3/60 running SunOS 4.1

MH Config:
This is mhconfig, for generic UNIX (MH.6 configuration program)

options: [BSD42] [BSD43] [SUN40] [TYPESIG=void] [ATHENA] [BERK] [DBM]
         [DUMB] [MHE] [MHRC] [SUN40] [SBACKUP='"\\043"'] [TYPESIG=void]
         [SENDMTS] [SMTP]

mtstailor file:
localname:	localhost
systemname:	localhost
mmdfldir:	/usr/spool/mail
mmdflfil:
hostable:	/usr/local/lib/mh/hosts
servers:	localhost

Mail software: Zmailer


Running comp or send will not send off the mail, with the post program
exiting with an error stating the last line of the smtp conversation
"503 Waiting for HELO command".  Here is a dump of my smtpserver log:

12482w  220 dyall Server SMTP ready at Tue, 25 Jun 1991 22:25:35 -0400
12482#  remote from [127.0.0.1]
12482r  MAIL FROM:<michael>
12482w  503 Waiting for HELO command
12482r  RSET
12482w  250 Ok
12482r  QUIT
12482w  221 dyall Out


In digging around in the source code I found out the variable "client"
is passed as a null pointer to the sm_init() function in post.c
resulting in the HELO command not being issued.  Where and how should
I configure mh (at compile and/or runtime) to get this variable set to
the hostname?  Note, I was able to get it to work with some serious
hacking on post.c, but somehow I dont think this is the right way to
get the software to do what I want it to do.  There has to be a better
way.

-- 
Michael Roberts
INTERNET: michael@dyall.ists.ca
UUCP: michael@dyall.uucp    ...!uunet!attcan!ists!dyall

rickert@mp.cs.niu.edu (Neil Rickert) (06/27/91)

In article <MICHAEL.91Jun26233020@dyall.ists.ca> michael@dyall.ists.ca (Michael Roberts) writes:
>
>Mail software: Zmailer
>
>"503 Waiting for HELO command".  Here is a dump of my smtpserver log:
>
  sendmail does not insist on the HELO command.  Apparently Zmailer does.

  With sendmail, when it receives the HELO command it compares the host
name to its own, and if they are the same, it aborts with a message
something like "I refuse to talk to myself" or "Local configuration error".
This is presumably why when you configure for sendmail, the HELO command is
not used.

-- 
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  Neil W. Rickert, Computer Science               <rickert@cs.niu.edu>
  Northern Illinois Univ.
  DeKalb, IL 60115                                   +1-815-753-6940