HEX
Server: Apache
System: Linux eisbus 6.8.12-9-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-9 (2025-03-16T19:18Z) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //usr/share/doc/sendmail/examples/amavis/amavis-doc-6.html
<!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>