Bug 134882 - security/amavisd-new problems
Summary: security/amavisd-new problems
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Gabor Kovesdan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-23 23:00 UTC by Elliot Dierksen
Modified: 2009-06-01 22:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Elliot Dierksen 2009-05-23 23:00:01 UTC
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.

Fix: 

unknown
How-To-Repeat: See description
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-05-23 23:04:53 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gabor

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2009-06-01 22:23:58 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"
Comment 3 Gabor Kovesdan freebsd_committer freebsd_triage 2009-06-01 22:25:06 UTC
State Changed
From-To: open->closed

Fix committed, thanks.