51 lines
2.0 KiB
HTML
51 lines
2.0 KiB
HTML
<!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>/etc</CODE>:
|
|
<CODE>/etc/mail</CODE>. Usually, sendmail will expect
|
|
these files to reside directly under <CODE>/etc</CODE>. To
|
|
avoid problems, <CODE>/etc/sendmail.cf</CODE> should be a
|
|
symbolic link to <CODE>/etc/mail/sendmail.cf</CODE>.
|
|
<P>
|
|
<P>The following files will populate <CODE>/etc/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>/usr/lib/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>
|