old-www/HOWTO/Mail-Administrator-HOWTO-7....

113 lines
4.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>The Linux Electronic Mail Administrator HOWTO: User Agent Administration </TITLE>
<LINK HREF="Mail-Administrator-HOWTO-8.html" REL=next>
<LINK HREF="Mail-Administrator-HOWTO-6.html" REL=previous>
<LINK HREF="Mail-Administrator-HOWTO.html#toc7" REL=contents>
</HEAD>
<BODY>
<A HREF="Mail-Administrator-HOWTO-8.html">Next</A>
<A HREF="Mail-Administrator-HOWTO-6.html">Previous</A>
<A HREF="Mail-Administrator-HOWTO.html#toc7">Contents</A>
<HR>
<H2><A NAME="s7">7. User Agent Administration </A></H2>
<P>
<P>
<H2><A NAME="ss7.1">7.1 Mutt </A>
</H2>
<P>
<P>You should have no problem compiling, installing, or running mutt.
Users of qmail can either get the patch or run it with -f flag to read
their local mail folder.
<P>If mutt bothers you with an "unknown terminal error" after a distribution
upgrading, just recompile it.
<P>
<H2><A NAME="ss7.2">7.2 Elm </A>
</H2>
<P>
<P>Elm compiles, installs and runs flawlessly under Linux. For more
information, see the elm sources and installation instructions. Elm
and filter need to be mode 2755 (group mail) with /var/spool/mail mode
775 and group mail.
<P>Qmail users can get a patch to use nifty qmail features, or will run elm with
the -f flag to point to their local mail folder.
<P>One thing you want to be aware of is that if you have Elm compiled to
be MIME-able, you need metamail installed and in the standard path or
Elm will not be able to read MIME mail you've received. Metamail is
available on <CODE>thumper.bellcore.com</CODE> and of course via "archie".
<P>If you use a binary distribution, you'll need to create a
"/usr/local/lib/elm/elm.rc" file to override the compiled-in hostname and
domain information:
<P>
<UL>
<LI>replace "subdomain.domain" with your domain name replace
</LI>
<LI>"myhostname" with you un-domainized hostname replace
</LI>
</UL>
<P>
<PRE>
#---------- /usr/local/lib/elm/elm.rc ------------------
#
# this is the unqualified hostname
hostname = myhostname
#
# this is the local domain
hostdomain = subdomain.domain
#
# this is the fully qualified hostname
hostfullname = myhostname.subdomain.domain
#
#--------------------------------------------------------
</PRE>
<P>One thing you want to be aware of is that if you have Elm compiled to
be MIME enabled, you need metamail installed and in your path or Elm
will not be able to read MIME mail you've received. Metamail is
available on <CODE>thumper.bellcore.com</CODE> and of course via "archie".
<P>In the "too cool to be true" category, there is a distribution of
Elm-2.4.24 that is "PGP-aware". To try it, grab the file
<CODE>ftp://ftp.viewlogic.com/pub/elm-2.4pl24pgp3.tar.gz</CODE>, which is
elm2.4.24 with PGP hooks added. You configure and build it the same
way you do normal Elm, which means you probably need to add the
patches mentioned above. For what it's worth, I run it here and like
it a lot. Of course, there must be more recent versions available,
including elm-ME+.
<P>While this item is not Linux-specific, it's perceived (wrongly) to be
a nagging Elm bug nevertheless. We've heard that Elm sometimes fails with a
message that it's unable to malloc() some massive number of bytes.
The identified workaround is to remove the post-processed global mail aliases
(aliases.dir and aliases.pag).
<P><CODE>THIS IS NOT A BUG IN ELM</CODE>, it's an error in configuration of Elm by
whomever you got your binary distribution of Elm from.
<P>Elm has an enhanced and non-compatible, format for aliases ; you need
to ensure that the path Elm uses for aliases is different from the
path sendmail/smail uses. From the volume of reports of this problem,
it's apparent that at least one major distribution 'on the street' has
in the past been misconfigured. (from <CODE> scot at catzen.gun.de (Scot
W. Stevenson) </CODE>)
<P>The current metamail package requires csh for some of its scripts.
Failure to have csh (or tcsh) will cause most interesting errors...
<P>
<H2><A NAME="ss7.3">7.3 Mailx </A>
</H2>
<P>
<P>If you don't have a local <CODE>mailx</CODE> program, save yourself the pain -- just go
and grab the mailx kit from Slackware 2.1.0 or later, which has a nice
implementation of mailx5.5. If you're into building from sources, mailx v5.5
compiles without patching under Linux if you have <CODE>"pmake"</CODE> installed.
<P>If anybody is still using it, I strongly recommend removing the old "edmail"
stuff from SLS1.00 and replacing it with mailx.
<P>
<HR>
<A HREF="Mail-Administrator-HOWTO-8.html">Next</A>
<A HREF="Mail-Administrator-HOWTO-6.html">Previous</A>
<A HREF="Mail-Administrator-HOWTO.html#toc7">Contents</A>
</BODY>
</HTML>