ports/118631: [patch] update amavisd-new to v 2.5.3 + patch amavisd-release

olli hauer ohauer at gmx.de
Wed Dec 12 22:30:03 UTC 2007

>Number:         118631
>Category:       ports
>Synopsis:       [patch] update amavisd-new to v 2.5.3 + patch amavisd-release
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 12 22:30:02 UTC 2007
>Originator:     olli hauer
>Release:        FreeBSD-6.2
upddate to new revision, adjust path in amavisd-release

original message:

The version 2.5.3 of amavisd-new has been released,
it is available at:


There are no compatibility issues with 2.5.2.

2.5.3 is purely a maintenance releas. It fixes all known bugs
and stability problems over 2.5.2. New features will appear
in 2.6.0.



- fix parsing a SMTP status response from MTA when releasing from a
  quarantine, when a MTA response did not include an enhanced status
  code (RFC 3463) (such as with old versions of Postfix);  a parsing
  failure resulted in attribute "setreply=450 4.5.0 Unexpected:..."
  in an AM.PDP protocol response, even though a release was successful;
  reported by Ron Miller, John M. Kupski, investigated by Tony Caduto
  and Jeremy Fowler;

- change parsing of addresses in From, To, and Cc header fields, avoiding
  complex Perl regular expressions which could crash a process on certain
  degenerate cases of these header fields; thanks for detailed problem
  reports to Carsten Lührs and Attila Nagy;

- completely rewritten parsing of Received header field to work around a
  Perl regular expression problem which could crash a process on certain
  degenerate cases of mail header fields; problem reported by Thomas Gelf;

- harden to some extent regular expressions in parse_message_id to cope
  better with degenerate cases of header fields carrying message-id;

- sanitize 8-bit characters in In-Reply-To and References header fields
  before using them in Pen Pals SQL lookups to avoid UTF-8 errors like:
    penpals_check FAILED: sql exec: err=7, 22021, DBD::Pg::st execute failed:
    ERROR: invalid byte sequence for encoding "UTF8": 0xd864

- when turning an infection report into a spam report, avoid adding newly
  discovered virus names (i.e. fraud names) to a cached list if these names
  are already listed; previously the list would just grow on each passage
  through a cache, leading to unsightly long lists of spam tests in a
  report; based on a patch by Henrik Krohns;

- fix diagnostics when an invalid command line argument is given;


- reduce log clutter when certain Perl modules are loaded late, i.e. after
  chrooting and daemonizing, but still before a fork; now only issue one
  log entry by a parent process: "extra modules loaded after daemonizing: ";

- slightly relax mail address syntax in subroutine split_address;

- fetch additional information (tags) from SpamAssassin: TESTS, ASN,
  ASNCIDR, DKIMDOMAIN and DKIMIDENTITY, making them available through a macro
  'supplementary_info' (if a version of SpamAssassin in use provides them);

- updated DKIM section in amavisd-new-docs.html, removing the historical
  DomainKeys milter from examples;

- declared a dummy subroutine dkim_key() and new dummy configuration
  variables @dkim_signature_options_bysender_maps, %signed_header_fields,
  $reputation_factor, @signer_reputation_maps and $sql_partition_tag, members
  of policy banks, in preparation for 2.6.0 - declared now for improved
  downgrade compatibility of 2.6.0 configuration files, if need arises.

--- Makefile.orig       Sat Sep  8 03:03:50 2007
+++ Makefile    Wed Dec 12 22:53:19 2007
@@ -7,8 +7,8 @@
 # Based on amavisd ports makefile.

 PORTNAME=      amavisd-new
 CATEGORIES=    security
 MASTER_SITES=  http://www.ijs.si/software/amavisd/ \
                http://mirrors.catpipe.net/amavisd-new/ \
@@ -225,6 +225,8 @@
        @${REINPLACE_CMD} "s|/var/amavis/db|${AMAVISDIR}/db|" ${WRKSRC}/amavisd-agent
        @${REINPLACE_CMD} "s|/var/amavis/db|${AMAVISDIR}/db|" ${WRKSRC}/amavisd-nanny
+       @${REINPLACE_CMD} "s|/var/amavis/amavisd.sock|${AMAVISDIR}/amavisd.sock|" \
+                       ${WRKSRC}/amavisd-release
        @${REINPLACE_CMD} "s|#define HAVE_MKTEMP|#undef HAVE_MKTEMP|" \
        @${REINPLACE_CMD} "s|/etc/amavisd.conf|${PREFIX}/etc/amavisd.conf|" \
--- distinfo.orig       Fri Jun 29 12:33:30 2007
+++ distinfo    Wed Dec 12 22:31:22 2007
@@ -1,3 +1,3 @@
-MD5 (amavisd-new-2.5.2.tar.gz) = 52d227d442fac64916488b83d79806d7
-SHA256 (amavisd-new-2.5.2.tar.gz) = 5f590850c505017c2633f47ced483aae23ec857e2a782f763eb16f9f9f3fceef
-SIZE (amavisd-new-2.5.2.tar.gz) = 788546
+MD5 (amavisd-new-2.5.3.tar.gz) = 5cf1a7a481855c6712378c0475058255
+SHA256 (amavisd-new-2.5.3.tar.gz) = f724654e15eab3fabce22873a5f2a0fcf2db9374ca84979cf066a29360ee533d
+SIZE (amavisd-new-2.5.3.tar.gz) = 789275


More information about the freebsd-ports-bugs mailing list