From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 09:18:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 210A516A4CF for ; Mon, 19 Apr 2004 09:18:20 -0700 (PDT) Received: from smtp-out8.xs4all.nl (smtp-out8.xs4all.nl [194.109.24.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97C0D43D58 for ; Mon, 19 Apr 2004 09:18:19 -0700 (PDT) (envelope-from beheer@radecom.nl) Received: from radecom.nl (beastie.xs4all.nl [80.126.160.60]) by smtp-out8.xs4all.nl (8.12.10/8.12.10) with ESMTP id i3JGIHjG084566; Mon, 19 Apr 2004 18:18:18 +0200 (CEST) Message-ID: <4083FBE2.6080700@radecom.nl> Date: Mon, 19 Apr 2004 18:18:42 +0200 From: "R. Zoontjens" Organization: =?ISO-8859-1?Q?Rad=E9com_B=2EV=2E?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: nl, en-us, en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG, beheer@radecom.nl Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Amavisd-new errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 16:18:20 -0000 Hi, This question does not concern FreeBSD only, I know... But here it goes. I am working on a mailserver that has antispam and antivirus functionality. I gathered some courage and read articles at O'reilly and Daemonnews to build-my-own. Also did some extensive Googling. The stuff I use: Postfix + Courier-IMAP + Amavis-new + ClamAV + Spamassassin (and probably Mimedefang). Of course on FreeBSD ;) Postfix runs just fine. Courier Imap-ssl and pop3-ssl too. Clamscan and Clamd are running fine. I have amavisd running in debug mode (/usr/local/sbin/amavisd debug). Normal mail gets scanned and all works well. But when I send a mail with a test virus (eicar), it is recognized by clam/amavis and the mail doesn't get trough. But I do want a notification mail to be sent to the user. This doesn't happen. The messages I get from Amavis debug output: lookup: (scalar) matches, result="beheer@blabla.nl" Apr 19 17:11:48 blabla.xs4all.nl amavisd[403]: (00403-03) TROUBLE in check_mail: virus_or_banned quar+notif FAILED: can't build entity: no body, and not multipart at /usr/local/sbin/amavisd line 4700, line 79. Looks like a perl error? I upgraded perl to 5.6.1 and recompiled Amavis + dependencies from ports. But I still get these errors. Running FreeBSD 4.8 - Security (using freebsd-update). Anyone who saw this error before? I looked in the amavisd code, but that didn't help me much. With kind regards, Richard Zoontjens.