<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML ><HEAD ><TITLE >Testing</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="Ownership" HREF="x246.html"><LINK REL="NEXT" TITLE="Configuring qmail to Use qmail-scanner-queue.pl" HREF="c268.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="x246.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="c268.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="sect1" ><H1 CLASS="sect1" ><A NAME="AEN252" ></A >4.5. Testing</H1 ><P >Now test Qmail-Scanner:</P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" >#./contrib./test_instaltion.sh -doit</PRE ></FONT ></TD ></TR ></TABLE ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" >Sending standard test message - no viruses...done!</PRE ></FONT ></TD ></TR ></TABLE ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" >Sending eicar test virus - should be caught by perlscanner module... done!</PRE ></FONT ></TD ></TR ></TABLE ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" >Sending eicar test virus with altered filename - should only be caught by commercial anti-virus modules (if you have any)...</PRE ></FONT ></TD ></TR ></TABLE ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="screen" >Sending bad spam message for anti-spam testing - In case you are using SpamAssassin... Done!</PRE ></FONT ></TD ></TR ></TABLE ><P >Now check the e-mail for your postmaster alias account.</P ><P >You should now have 4 email messages in your postmaster?s mailbox</P ><P >If you do not have the 4 messages in the postmaster's mailbox, then: Verify that you are checking the proper mailbox.</P ><P >Re-execute the configure script for qmail-scanner-queue.pl. Verify that the 'virus-admin' from the script output is the same as your qmail postmaster alias.</P ><P >Check qmail to see if the messages are in the queue. If they are try issuing a 'qmailctl' flush command to force delivery.</P ><P >If all else fails check the Qmail-Scanner mailing list archives at <A HREF="http://lists.sourceforge.net/mailman/listinfo/qmail-scanner-general" TARGET="_top" > <I CLASS="citetitle" >http://lists.sourceforge.net/mailman/listinfo/qmail-scanner-general</I ></A >.</P ></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="x246.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="c268.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Ownership</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="c177.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Configuring qmail to Use qmail-scanner-queue.pl</TD ></TR ></TABLE ></DIV ></BODY ></HTML >