389 lines
6.0 KiB
HTML
389 lines
6.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Installing Qmail-Scanner Prerequisites</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="Qmail-Scanner and ClamAV HowTo"
|
|
HREF="index.html"><LINK
|
|
REL="UP"
|
|
TITLE="Qmail-Scanner"
|
|
HREF="c177.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="What Is Qmail-Scanner?"
|
|
HREF="x179.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Installing Qmail-Scanner"
|
|
HREF="x225.html"></HEAD
|
|
><BODY
|
|
CLASS="sect1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>Qmail-Scanner and ClamAV HowTo</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x179.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
>Chapter 4. Qmail-Scanner</TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x225.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="sect1"
|
|
><H1
|
|
CLASS="sect1"
|
|
><A
|
|
NAME="AEN182"
|
|
></A
|
|
>4.2. Installing Qmail-Scanner Prerequisites</H1
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN184"
|
|
></A
|
|
>4.2.1. Maildrop</H2
|
|
><P
|
|
>What is Maildrop:</P
|
|
><P
|
|
>From the maildrop web site:</P
|
|
><P
|
|
>"<EM
|
|
>maildrop</EM
|
|
> is the mail filter/mail delivery agent that's used by
|
|
the <A
|
|
HREF="http://www.courier-mta.org"
|
|
TARGET="_top"
|
|
> <I
|
|
CLASS="citetitle"
|
|
>Courier Mail Server</I
|
|
></A
|
|
>."</P
|
|
><P
|
|
>You will not be using Maildrop or the Courier Mail Server for this
|
|
installation. However, Qmail-Scanner requires reformmime, which is included
|
|
in Maildrop. This is the only reason Maildrop is mentioned in this HOWTO.</P
|
|
><P
|
|
>Download and unpack the latest version of Maildrop. Please read the
|
|
INSTALL file included in the tar ball.</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
>#./configure</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
>#make</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
>#make install-strip</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
>#make install-man</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN198"
|
|
></A
|
|
>4.2.2. Perl Modules</H2
|
|
><P
|
|
>Time::HiRes Perl module:</P
|
|
><P
|
|
>From the README file in the tar ball:</P
|
|
><P
|
|
>Time::HiRes module: High resolution time, sleep, and alarm.
|
|
"Implement usleep, ualarm, and gettimeofday for Perl, as well as
|
|
wrappers to implement time, sleep, and alarm that know about non-integral
|
|
seconds."</P
|
|
><P
|
|
>DB_File Perl module:</P
|
|
><P
|
|
>From the README file in the tar ball:</P
|
|
><P
|
|
>"DB_File is a module which allows Perl programs to make use of the
|
|
facilities provided by Berkeley DB version 1. (DB_File can be built version
|
|
2, 3 or 4 of Berkeley DB, but it will only support the 1.x features),"</P
|
|
><P
|
|
>Download Time::HiRes and DB_File Perl Modules. The modules can be
|
|
obtained at <A
|
|
HREF="http://www.cpan.org"
|
|
TARGET="_top"
|
|
> <I
|
|
CLASS="citetitle"
|
|
>www.cpan.org</I
|
|
></A
|
|
> (See Appendix C). There is a HOWTO there as well
|
|
that will explain the installation procedure of Perl modules. Once again,
|
|
please read the instructions included in the tar balls and review the README
|
|
information before installing.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN209"
|
|
></A
|
|
>4.2.3. Mark Simpson's TNEF Unpacker</H2
|
|
><P
|
|
>What is TNEF Unpacker:</P
|
|
><P
|
|
>This utility unpacks ms-tnef type MIME attachments. For a better
|
|
explanation of MIME type attachments, please review <A
|
|
HREF="http://www.ietf.org/rfc/rfc1521.txt?number=1521"
|
|
TARGET="_top"
|
|
> <I
|
|
CLASS="citetitle"
|
|
>http://www.ietf.org/rfc/rfc1521.txt?number=1521</I
|
|
></A
|
|
>
|
|
.</P
|
|
><P
|
|
>Download the package, and uncompress the tar ball. As with the Maildrop
|
|
install, you should read the INSTALL file included in the tar ball.</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
>#./configure</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
>#./make check</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
>#./make install</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
><DIV
|
|
CLASS="sect2"
|
|
><H2
|
|
CLASS="sect2"
|
|
><A
|
|
NAME="AEN219"
|
|
></A
|
|
>4.2.4. Patching qmail</H2
|
|
><P
|
|
>If you have not already done so, please install Bruce Guenter?s
|
|
QMAILQUEUE patch.</P
|
|
><P
|
|
>To patch qmail, download the patch to your qmail source directory.</P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
>#patch -p1<qmailqueue.patch</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="screen"
|
|
>#./make setup check</PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x179.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x225.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>What Is Qmail-Scanner?</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="c177.html"
|
|
ACCESSKEY="U"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Installing Qmail-Scanner</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |