Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Aug 2002 11:13:37 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Gheorghe Ardelean <ardelean@physics.uvt.ro>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: anyone running amavis and sendmail on 4.6-STABLE?
Message-ID:  <5.1.0.14.0.20020804110156.0570a000@192.168.0.12>
In-Reply-To: <Pine.BSF.4.21.0208041719500.30633-100000@quasar.physics.uv t.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
At 05:33 PM 8/4/2002 +0300, Gheorghe Ardelean wrote:


>Having f-prot installed I've tried to use amavisd from ports, but i have
>the same failures as described previously in my email.
>I tried amavisd and amavisd-new with sendmail (but NO milter).


Use the milter version... faster, cleaner and I have found it to be more 
reliable.

With f-prot, I added the following changes to amavisd
--- amavisd     Mon Jul 15 14:04:14 2002
+++ amavisd.mdt Mon Jul 15 14:08:04 2002
@@ -379,7 +379,7 @@
      $scanner_errors &= $errval;
      do_log(2,$output);
      if ($errval) {
-       if ($errval == 3) {
+       if (($errval == 3) || ($errval == 8)) {
             @virusname = ($output =~ /Infection: (.+)/g);
             do_virus($output);
         } else {

so that it sees heuristic matches.

In your .mc file, add
define(`_FFR_MILTER', `1')dnl
INPUT_MAIL_FILTER(`milter-amavis', `S=local:/var/amavis/amavis.sock, F=T, 
T=S:1m;R:2m;E:2m')dnl

add
linux_enable="YES" to /etc/rc.conf

Then grab the amavisd snapshot from either Feb or April and build it with 
milter support.

         /usr/sbin/amavis-milter -D -p /var/amavis/amavis.sock
         /usr/sbin/amavisd

Try it, it works really well.

         ---Mike
--------------------------------------------------------------------
Mike Tancsa,                          	          tel +1 519 651 3400
Sentex Communications,     			  mike@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada			  www.sentex.net/mike


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020804110156.0570a000>