[comp.mail.mush] Strange problem with mush7.1

schaefer@CSE.OGI.EDU (Barton E. Schaefer) (05/26/90)

Hmm ... myers@laguna.ccsf.caltech.edu doesn't seem to exist ...

On May 20,  2:45am, Bob Myers wrote:
} Subject: Strange problem with mush7.1
} 
} If I'm on the fileserver or the mailhost, everything works great.
} 
} On any other machine, however, a problem develops. If the 'home'
} variable is *incorrectly* set, or unset, I can still send mail
} (though it has a little trouble finding my .signature ! ).
} Otherwise, sendmail hangs. If I use -v to send the mail, this
} is as far as we get:
} 
} >>> DATA
} 354 Enter mail, end with "." on a line by itself
} >+> .
  ^^^
  Is that verbatim or a typo?  I worry about the >+>; it should just be
  >>> or possibly <<<.
} 
} when everything just halts.  So what is mush trying to tell sendmail
} that is dependent on the value of 'home'?  Help!  I don't understand.

I have almost no ideas about what could be going on here.  Does this
happen only with mush, or does the same problem arise with other mailers?

Mush uses popen() to run the sendmail command.  It is possible that the
shell created by popen() is reading something from an init file (.profile
or some such) that is causing it not to exit properly.

Another possibility is that something in your .mushrc or the system
Mushrc is directing copies of the mail to you, and you have a malformed
or loop-inducing .forward file (which sendmail does not see when your
home directory is "misplaced").

You can use the command "debug 3" in conjunction with "mail -v" or "set
verbose" to cause mush to show you what it is passing to sendmail without
actually running sendmail.  Make a close examination of the headers that
mush displays and make sure no unusual To: or Cc: addresses are included.
Bcc too, of course.

Also try using "mush -n!" to run with *no* init files sourced.

If you don't manage to work this out, try to provide more info, like
a transcript of the output of "set" or the complete text of the verbose
mailing output.

Good luck!

-- 
Bart Schaefer         |  The Ultimate Scheme:         [apologies to Wadler]
                      |  call-cc (lambda (answer)
schaefer@cse.ogi.edu  |      (/ universe (if (= life 0) (answer 42) life)))