94 lines
2.7 KiB
HTML
94 lines
2.7 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: Qmail Installation</TITLE>
|
|
<LINK HREF="Qmail+MH-4.html" REL=next>
|
|
<LINK HREF="Qmail+MH-2.html" REL=previous>
|
|
<LINK HREF="Qmail+MH.html#toc3" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="Qmail+MH-4.html">Next</A>
|
|
<A HREF="Qmail+MH-2.html">Previous</A>
|
|
<A HREF="Qmail+MH.html#toc3">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="s3">3. Qmail Installation</A></H2>
|
|
|
|
<P>
|
|
<P>Follow the INSTALL instructions exactly.
|
|
<P>
|
|
<P>Notes:
|
|
<P>
|
|
<P>
|
|
<P>Please take the time to read the Fine documentation completely.
|
|
The numerals refer to the installation steps in the above INSTALL doc.
|
|
<UL>
|
|
<LI> 2 - I had to set up the groups and users manually as per INSTALL.ids
|
|
</LI>
|
|
<LI> 7 - ./qmail-makectl did not work on my system. I added my domain name (mickey.n.eunet.de) manually in /var/qmail/control/me
|
|
</LI>
|
|
<LI> 23 - Make sure qmail-smtpd is spelt correctly in the inetd-conf file.
|
|
(I spelt it incorrectly i.e. qmail-smptd, which took me two days to find:( )
|
|
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env
|
|
/var/qmail/bin/qmail-smtpd
|
|
</LI>
|
|
</UL>
|
|
<P>
|
|
<H2><A NAME="ss3.1">3.1 Maildir2smtp</A>
|
|
</H2>
|
|
|
|
<P>
|
|
<P>Dan Bernstein has provided a package for sending queued email to an ISP
|
|
via dial-in. This package is available as serialmailxxx from his site.
|
|
<P>Install this package as described in the man page (Thanks Rupert Mazzucco
|
|
(maz@pap.univie.ac.at), it works out of the box!
|
|
<P>
|
|
<BLOCKQUOTE><CODE>
|
|
<PRE>
|
|
|
|
|
|
maildir2smtp - blast a maildir across SMTP
|
|
|
|
maildir2smtp is designed to pass messages along a SLIP or
|
|
PPP link. To set this up on the disconnected end, create
|
|
a new maildir in alias:
|
|
|
|
# maildirmake ~alias/pppdir
|
|
# chown -R alias ~alias/pppdir
|
|
|
|
Put
|
|
|
|
:alias-ppp
|
|
|
|
into control/virtualdomains and
|
|
|
|
./pppdir/
|
|
|
|
into ~alias/.qmail-ppp-default. Don't forget the extra
|
|
slash in pppdir/. Then, in the PPP startup script, do
|
|
|
|
maildir2smtp ~alias/pppdir alias-ppp- $IP `hostname`
|
|
|
|
replacing $IP with the remote IP address.
|
|
|
|
</PRE>
|
|
</CODE></BLOCKQUOTE>
|
|
<P>Notes:
|
|
<P>
|
|
<UL>
|
|
<LI>Please read the Fine manual page completely.
|
|
</LI>
|
|
<LI>Maildir2smtp requires the dotted IP address of your mail server. If you do not have this then ping YourMail.host.country which will return the IP.
|
|
</LI>
|
|
<LI>This command can be included in your login script to flush all queued mail after logging in to your ISP.
|
|
|
|
</LI>
|
|
</UL>
|
|
<P>
|
|
<HR>
|
|
<A HREF="Qmail+MH-4.html">Next</A>
|
|
<A HREF="Qmail+MH-2.html">Previous</A>
|
|
<A HREF="Qmail+MH.html#toc3">Contents</A>
|
|
</BODY>
|
|
</HTML>
|