Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 965e33040dd61030a94f0eb89877aee8 > files > 5726

howto-html-en-20080722-2mdv2010.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>sendmail address rewriting mini-HOWTO: File Roadmap</TITLE>
 <LINK HREF="Sendmail-Address-Rewrite-3.html" REL=next>
 <LINK HREF="Sendmail-Address-Rewrite-1.html" REL=previous>
 <LINK HREF="Sendmail-Address-Rewrite.html#toc2" REL=contents>
</HEAD>
<BODY>
<A HREF="Sendmail-Address-Rewrite-3.html">Next</A>
<A HREF="Sendmail-Address-Rewrite-1.html">Previous</A>
<A HREF="Sendmail-Address-Rewrite.html#toc2">Contents</A>
<HR>
<H2><A NAME="s2">2. File Roadmap</A></H2>

<P>We will put all of sendmail's configuration files in a
separate directory under <CODE>&sol;etc</CODE>:
<CODE>&sol;etc&sol;mail</CODE>.  Usually, sendmail will expect
these files to reside directly under <CODE>&sol;etc</CODE>.  To
avoid problems, <CODE>&sol;etc&sol;sendmail.cf</CODE> should be a
symbolic link to <CODE>&sol;etc&sol;mail&sol;sendmail.cf</CODE>.
<P>
<P>The following files will populate <CODE>&sol;etc&sol;mail</CODE>:
<UL>
<LI>=20</LI>
<LI><CODE>aliases</CODE> - contains additional local addresses</LI>
<LI><CODE>genericsdomain</CODE> - contains some information on your
local host's configuration</LI>
<LI><CODE>genericstable</CODE> - contains the actual rewriting
rules.</LI>
<LI><CODE>sendmail.cf</CODE> - sendmail's configuration file</LI>
<LI><CODE>sendmail.mc</CODE> - the source of <CODE>sendmail.cf</CODE>.</LI>
</UL>
<P>Some of these files will be accompanied by <CODE>.db</CODE> files.
They contain hashed databases for sendmail's direct use.
<P>
<P>We assume that the <CODE>cf</CODE> part of sendmail's source
tree resides under a directory named
<CODE>&sol;usr&sol;lib&sol;sendmail.cf</CODE>.  This is the case
on Debian GNU/Linux systems.  Other distributions will put
this stuff at different places.  Please refer to your
distribution's documentation for details.
<P>
<HR>
<A HREF="Sendmail-Address-Rewrite-3.html">Next</A>
<A HREF="Sendmail-Address-Rewrite-1.html">Previous</A>
<A HREF="Sendmail-Address-Rewrite.html#toc2">Contents</A>
</BODY>
</HTML>