175 lines
3.8 KiB
HTML
175 lines
3.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||
<HTML>
|
||
<HEAD>
|
||
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
|
||
<TITLE>mini-HOWTO install qmail with MH: MH Installation</TITLE>
|
||
<LINK HREF="Qmail+MH-5.html" REL=next>
|
||
<LINK HREF="Qmail+MH-3.html" REL=previous>
|
||
<LINK HREF="Qmail+MH.html#toc4" REL=contents>
|
||
</HEAD>
|
||
<BODY>
|
||
<A HREF="Qmail+MH-5.html">Next</A>
|
||
<A HREF="Qmail+MH-3.html">Previous</A>
|
||
<A HREF="Qmail+MH.html#toc4">Contents</A>
|
||
<HR>
|
||
<H2><A NAME="s4">4. MH Installation</A></H2>
|
||
|
||
<P>In addition to this, I also replaced /mh-6.8.4/mts/sendmail/smail.c with
|
||
Dan Bernstein´s mh-qmail-smail.c
|
||
<P>This is what my mh-6.8.4/conf/MH looks like:
|
||
<P>
|
||
<BLOCKQUOTE><CODE>
|
||
<HR>
|
||
<PRE>
|
||
|
||
|
||
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
|
||
|
||
</PRE>
|
||
<HR>
|
||
</CODE></BLOCKQUOTE>
|
||
<P>
|
||
<P>Notes:
|
||
<UL>
|
||
<LI>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.
|
||
|
||
</LI>
|
||
<LI>I have remmed out ``mail'' because I want to control it via mtstailor</LI>
|
||
</UL>
|
||
<P>
|
||
<H2><A NAME="ss4.1">4.1 mtstailor</A>
|
||
</H2>
|
||
|
||
<P>
|
||
<P>As qmail delivers mail to the home directory (~/Mailbox). I added the
|
||
following to my mtstailor
|
||
<P>
|
||
<BLOCKQUOTE><CODE>
|
||
<PRE>
|
||
|
||
localname: mickey
|
||
localdomain: n.eunet.de
|
||
mmdfldir:
|
||
mmdflfil: Mailbox
|
||
uucpldir:
|
||
uucplfil:
|
||
mmdelim1: \001\001\001\001\n
|
||
mmdelim2: \001\001\001\001\n
|
||
mmailid: 0
|
||
umincproc:
|
||
lockldir:
|
||
sendmail: /usr/lib/sendmail
|
||
</PRE>
|
||
</CODE></BLOCKQUOTE>
|
||
<P>
|
||
<P>
|
||
<P>Notes:
|
||
<UL>
|
||
<LI>sendmail: /usr/lib/sendmail is a link to the qmail sendmail wrapper in
|
||
/var/qmail/bin
|
||
</LI>
|
||
<LI>MH does not like the tilde notation (~/) use /home instead or leave blank which according to the docs defaults to $HOME.</LI>
|
||
<LI>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
|
||
</LI>
|
||
</UL>
|
||
<P>
|
||
<H2><A NAME="ss4.2">4.2 mh_profile</A>
|
||
</H2>
|
||
|
||
<P>
|
||
<P>Here is my .mh_profile
|
||
<P>
|
||
<BLOCKQUOTE><CODE>
|
||
<PRE>
|
||
|
||
Path: Mail
|
||
draft-folder: drafts
|
||
unseen-sequence: unseen
|
||
AliasFile: /home/rdn/.mh_aliases
|
||
send: -msgid
|
||
comp: -form /home/rdn/.mymh-components
|
||
MailDrop: /home/rdn/Mailbox
|
||
</PRE>
|
||
</CODE></BLOCKQUOTE>
|
||
<P>Notes:
|
||
<UL>
|
||
<LI>I put in the MailDrop line to be ``sure to be sure''.</LI>
|
||
</UL>
|
||
<P>
|
||
<P>
|
||
<P>
|
||
<HR>
|
||
<A HREF="Qmail+MH-5.html">Next</A>
|
||
<A HREF="Qmail+MH-3.html">Previous</A>
|
||
<A HREF="Qmail+MH.html#toc4">Contents</A>
|
||
</BODY>
|
||
</HTML>
|