summaryrefslogtreecommitdiff
path: root/debian/examples/amavis/amavis-doc-6.html
blob: f3c2041239863d96f5a3a1c66d1e5a9fda333c5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.10">
 <TITLE>How to Install Amavis-milter for Debian Sendmail: Building Amavis</TITLE>
 <LINK HREF="amavis-doc-7.html" REL=next>
 <LINK HREF="amavis-doc-5.html" REL=previous>
 <LINK HREF="amavis-doc.html#toc6" REL=contents>
</HEAD>
<BODY>
<A HREF="amavis-doc-7.html">Next</A>
<A HREF="amavis-doc-5.html">Previous</A>
<A HREF="amavis-doc.html#toc6">Contents</A>
<HR>
<H2><A NAME="s6">6.</A> <A HREF="amavis-doc.html#toc6">Building Amavis</A></H2>

<P>Regardless of the method you used to obtain it, please change
to your new amavis sourcecode directory and type the following command
to build Amavis with libmilter:</P>
<P>
<PRE>
LDFLAGS="
-L/usr/lib/libmilter"
 ./configure --with-amavisuser=amavis --prefix=/usr/local --with-runtime-dir=/var/local/amavis --enable-milter --with-sendmail-source=/usr/include/libmilter
</PRE>
</P>
<P>Then simply run make by typing:</P>
<P>
<PRE>
make
</PRE>
</P>
<P>This will create, among other things, the amavisd perl script
and the amavis-milter binary in your "
&lt;amavis-sourcecode-directory&gt;/amavis/"</P>
<P>directory. If the previous steps failed for any reason, go to the
section titled "
If the CVS copy blows chunks"
and rerun the "
Building
Amavis"
section from the beginning.</P>
<HR>
<A HREF="amavis-doc-7.html">Next</A>
<A HREF="amavis-doc-5.html">Previous</A>
<A HREF="amavis-doc.html#toc6">Contents</A>
</BODY>
</HTML>