Help with XMH and MH (was: Re: MH for Linux, *please*!

Help with XMH and MH (was: Re: MH for Linux, *please*!

Post by Kingsley G. Morse J » Mon, 18 Aug 1997 04:00:00

>>I've installed mh according to the instructions and I get the following
>>error when I type "inc":

>>inc: unable to lock and fopen /usr/spool/mail/borella

>>Thus, I'm not able to build an inbox.  Anybody know what I did wrong?
>You need to change the /usr/spool/mail directory to have global write
>permission. [...]

I fixed it by logging on as root and doing

    $ chmod o+w /var/spool/mail

    If email to me bounces, make sure you deleted the D from the end of my
                     username in my email address.


1. xmh-pop-1.0b - mh/xmh with POP/Unix auth. support


xmh-pop-1.0b (beta release) is available in


  This package will allow xmh to properly interact with the MH
package when MH has been compiled with POP / UNIX authentication
support. The added functionalities are:

- the ability to prompt the user for a password
- the ability to detect if a forked mh command requires a passwd (as
inc and msgchk do), and to feed the command with the password


- MH-6.8.3 source tree:
  minor changes to the MH package are unfortunately required. See
  README.MH for details.
  The patch is included in this distribution, see instructions below.

  Once the patch has been applied, the MH package must be recompiled
  with POP support, and UNIX authentication; refer to the MH
  documentation for more instructions.

- You will have to patch and recompile xmh. See the file README.XMH
  for a description of the changes to xmh.

mh-6.8.3, popper-1.831, xmh-mitR5, and xmh-pop are available via
anonymous ftp on in the directory /system/mail:


-  The approach used implies storing a x-ored clear text password in
  the memory space of a running program (xmh) for the lifetime of the
  program. If you are unsure about the risks this implies, you probably
  shouldn't use this patch.

-  The patches to MH will generate programs (e.g. inc & msgchk) that
  read passwords from their standard  input. This will allow a silly
  user to store a clear text password in a file or a script so as to
  feed it automatically to the mh programs.

- xmh will feed external programs (e.g. inc) with clear-text
  passwords: better make sure these programs aren't trojan horses. As
  a consequence the way xmh looks for mh binaries has been modified,


- We got many many deadlocks with the select in xmh/command.c, which
  never returned even though the MH command did write on stderr. The
  problem disapeared after we replaced vfork by fork in command.c, but
  we are unsure if this was really causing the problem.. there may be
  a bug laying around there

The program succesfully compiled and is being tested for the following

SunOS 4.1.3_U1 1 / Sun cc -O
SunOS 4.1.3_U1 1 / gcc-2.4.5 -fstrength-reduce -fpcc-struct-return
HP-UX A.09.05    / HP cc +O1 -Aa +DA1.0
HP-UX A.09.05    / gcc-2.4.5 -fstrength-reduce -fpcc-struct-return -O -ansi

  Comments appreciated.

        Frank Mangin                            Tel: (33) 93 65 78 57

2. Controlling XWindows mouse resolution

3. xmh and mh for Linux

4. Problem installing Linux on Maxtor HD / OnTrack drive manager

5. MH/xmh/exmh or other full featured mail reader.

6. Cylinders, heads, & sectors specs for Jaz cartridge?

7. Setting your return path using mh/Xmh ???

8. KDE Magic file

9. xmh... where is MH???

10. MH for Linux, *please*!

11. HELP: Compiling MH for Linux?

12. HELP! Compiling MH 6.8.3 for Linux!

13. Help with Tkrat - Can't use MH folders