From nobody@FreeBSD.org  Sat May 23 21:59:07 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9D073106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 May 2009 21:59:07 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8C6AE8FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 May 2009 21:59:07 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n4NLx73e017270
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 May 2009 21:59:07 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n4NLx7lK017269;
	Sat, 23 May 2009 21:59:07 GMT
	(envelope-from nobody)
Message-Id: <200905232159.n4NLx7lK017269@www.freebsd.org>
Date: Sat, 23 May 2009 21:59:07 GMT
From: Elliot Dierksen <ebd@oau.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: amavisd-new problems
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         134882
>Category:       ports
>Synopsis:       security/amavisd-new problems
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gabor
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 23 22:00:01 UTC 2009
>Closed-Date:    Mon Jun 01 21:25:21 UTC 2009
>Last-Modified:  Mon Jun  1 21:30:01 UTC 2009
>Originator:     Elliot Dierksen
>Release:        7.1-RELEASE-p5
>Organization:
>Environment:
FreeBSD alfred.oau.org 7.1-RELEASE-p5 FreeBSD 7.1-RELEASE-p5 #8: Sat May 23 07:20:57 EDT 2009     root@alfred.oau.org:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
I upgraded this morning from 7.1-RELEASE-p4 to 7.1-RELEASE-p5. I also upgraded from p5-Mail-SpamAssassin-3.2.5_2 to p5-Mail-SpamAssassin-3.2.5_3 and from amavisd-new-2.6.2_2,1 to amavisd-new-2.6.3,1. After the upgrade, the documented method for disabling the anti-spam code in amavisd-new (setting  @bypass_virus_checks_maps = (1); in amavisd.conf) fails. With that value set, amavisd fails during startup with the following message:

Can't locate object method "new" via package "Amavis::SpamControl" at /usr/local/sbin/amavisd line 13878.

I was able to work around it by setting @bypass_spam_checks_maps = ( [ "." ] ); in amavisd.conf. It still loads the spam code, but does not process it. I had been using the documented method to disable the spam code for years, and it just now failed. I suspect the problem is with the new version of amavisd-new.

For what it is worth, I have this disabled because I have never been able to get amavisd-new to insert the spam headers into the mail message. I have been using spamass-milter to do that. I would prefer to do it through amavisd-new and avoid another milter call, but it never adds the header. I have determined that it does write the spam header into the quarantine file if the message gets quarantined, but never into the message that gets passed on the MTA.

>How-To-Repeat:
See description
>Fix:
unknown

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gabor 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat May 23 22:04:53 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134882 
State-Changed-From-To: open->closed 
State-Changed-By: gabor 
State-Changed-When: Mon Jun 1 21:25:06 UTC 2009 
State-Changed-Why:  
Fix committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134882 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/134882: commit references a PR
Date: Mon,  1 Jun 2009 21:23:58 +0000 (UTC)

 gabor       2009-06-01 21:23:44 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/amavisd-new Makefile 
   Log:
   - Fix the 'Can't locate object method "new" via package "Amavis::SpamControl"
     at /usr/local/sbin/amavisd line 13878.' bug
   - Bump PORTREVISION
   
   PR:             ports/134882 [1]
   Submitted by:   Elliot Dierksen <ebd@oau.org> [1],
                   Kirill Angelov <kirill@dubna.ru>
   Obtained from:  Debian Project
   
   Revision  Changes    Path
   1.71      +1 -0      ports/security/amavisd-new/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
