In addition to this, I also replaced /mh-6.8.4/mts/sendmail/smail.c with
Dan Bernsteinīs mh-qmail-smail.c
This is what my mh-6.8.4/conf/MH looks like:
bin /usr/bin/mh
etc /usr/lib/mh
#mail
#mandir /usr/man
#manuals standard
chown /bin/chown
#cp cp
#ln ln
#remove mv -f
cc gcc
ccoptions -traditional -O2 -m486 -D_NFILE='getdtablesize()'
-DSIGEMT=SIGUSR1
curses -lncurses
#ldoptions -s
#ldoptlibs
lex flex
#oldload off
#ranlib on
mts sendmail
#mf off
#bboards off
#bbdelivery off
#bbhome /usr/spool/bboards
pop on
popdir /usr/lib/mh
sharedlib sys5
slflags -fPIC
slibdir /usr/lib
mailgroup mail
signal void
sprintf int
#editor prompter
#debug off
#regtest off
options ATHENA
options BIND
options DPOP
options DUMB
options FCNTL
options MHE
options MHRC
options MIME
options MORE='"/usr/bin/less"'
options OVERHEAD
options POP2
options POPSERVICE='"pop3"'
options RENAME
options RPATHS
options RPOP
options SOCKETS
options SVR4
options SYS5
options SYS5DIR
options TERMINFO
options UNISTD
options VSPRINTF
Notes:
I have only compiled ``mts sendmail'' - read in comp.mail.mh somewhere that /smtp can cause problems. Dominic Mitchell (hdm@demon.net) wrote in comp.mail.mh (13 June 1997):
``Not quite. With this option MH still talks SMTP, just over a pipe
and not over a network. You *really* need a line in your /.mh_profile
which says:
postproc: /usr/local/nmh/lib/spost
Or whever it's kept on your system. This will pass the message
directly to sendmail in the traditional manner. You're using
qmail of course, so sendmail will be qmail's wrapper script, but that's
just fine.'' Thanks Dominic.
I have remmed out ``mail'' because I want to control it via mtstailor
sendmail: /usr/lib/sendmail is a link to the qmail sendmail wrapper in
/var/qmail/bin
MH does not like the tilde notation (~/) use /home instead or leave blank which according to the docs defaults to $HOME.
I recently installed MH and qmail on my office machine which is connect via ethernet. I added the following line to mtstailor:
servers: mailserver.company.country