Newsgroups: comp.mail.mh Path: utzoo!utgpu!news-server.csri.toronto.edu!helios.physics.utoronto.ca!ists!dyall!dyall!michael From: michael@dyall.ists.ca (Michael Roberts) Subject: Problems with mh smtp Message-ID: Sender: michael@dyall.ists.ca (Michael Roberts) Organization: Somewhere underneath a sparkly night sky... Date: 26 Jun 91 23:30:20 Lines: 52 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: 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