Debian Bug report logs - #228766
X-Spam-Checker-Version: SpamAssassin header not added

version graph

Package: amavisd-new; Maintainer for amavisd-new is Brian May <[email protected]>; Source for amavisd-new is src:amavisd-new (PTS, buildd, popcon).

Reported by: Charles Fry <[email protected]>

Date: Tue, 20 Jan 2004 19:48:02 UTC

Severity: wishlist

Tags: upstream, wontfix

Found in version 20030616p5-6

Forwarded to Mark Martinec <[email protected]>

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Brian May <[email protected]>:
Bug#228766; Package amavisd-new. (full text, mbox, link).


Acknowledgement sent to Charles Fry <[email protected]>:
New Bug report received and forwarded. Copy sent to Brian May <[email protected]>. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Charles Fry <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: X-Spam-Checker-Version: SpamAssassin header not added
Date: Tue, 20 Jan 2004 14:33:34 -0500
Package: amavisd-new
Version: 20030616p5-6
Severity: minor

When running SpamAssassin from procmail, with no custom configuration,
the following header was added to all email messages processed by
SpamAssassin:

X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on...

Amoung other things, this made it easy to verify that messages were
actually being checked.

After enabling SpamAssassin in amavisd-new, this header is not being
added (or is being stripped out). Nothing in amavisd.conf seems to
control this, and I could find no mention of it in the provided
documentation.

Charles

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux frogcircus.org 2.4.23-memlock+brkpatch+mremap-6um #6 Mon Jan 5 21:36:39 GMT 2004 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages amavisd-new depends on:
ii  adduser                       3.51       Add and remove users and groups
ii  file                          4.06-2     Determines file type using "magic"
ii  libarchive-tar-perl           1.03-0.1   Archive::Tar - manipulate tar file
ii  libarchive-zip-perl           1.05-1     Module for manipulation of ZIP arc
ii  libcompress-zlib-perl         1.16-1.1   Perl module for creation and manip
ii  libconvert-tnef-perl          0.17-3     Perl module to read TNEF files
ii  libconvert-uulib-perl         1.0-1      Perl interface to the uulib librar
pn  libdigest-md5-perl                       Not found.
ii  libmailtools-perl             1.59-1     Manipulate email in perl programs
pn  libmime-base64-perl                      Not found.
ii  libmime-perl                  5.411-2    Perl5 modules for MIME-compliant m
ii  libnet-perl                   1:1.17-1   Implementation of Internet protoco
ii  libnet-server-perl            0.85-3     An extensible, general perl server
ii  libunix-syslog-perl           0.100-2    Perl interface to the UNIX syslog(
ii  perl [libtime-hires-perl]     5.8.2-2    Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl]    5.8.2-2    Core Perl modules.

-- no debconf information




Severity set to `wishlist'. Request was from Henrique de Moraes Holschuh <[email protected]> to [email protected]. (full text, mbox, link).


Reply sent to Henrique de Moraes Holschuh <[email protected]>:
You have marked Bug as forwarded. (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Henrique de Moraes Holschuh <[email protected]>
To: Mark Martinec <[email protected]>
Cc: Charles Fry <[email protected]>, [email protected]
Subject: Re: Bug#228766: X-Spam-Checker-Version: SpamAssassin header not added
Date: Wed, 11 Feb 2004 19:51:58 -0200
severity 228766 wishlist
thanks

The amavisd code to add this header is commented upstream, therefore
I am lowering the severity of this bug to "wishlist", and sending it
upstream.

Mark, I assume there is a reason for that code to be commented out, instead
of being a config option or enabled all the time?

On Tue, 20 Jan 2004, Charles Fry wrote:
> Package: amavisd-new
> Version: 20030616p5-6
> Severity: minor
> 
> When running SpamAssassin from procmail, with no custom configuration,
> the following header was added to all email messages processed by
> SpamAssassin:
> 
> X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on...
> 
> Amoung other things, this made it easy to verify that messages were
> actually being checked.
> 
> After enabling SpamAssassin in amavisd-new, this header is not being
> added (or is being stripped out). Nothing in amavisd.conf seems to
> control this, and I could find no mention of it in the provided
> documentation.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Message #11 received at [email protected] (full text, mbox, reply):

From: Mark Martinec <[email protected]>
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Bug#228766: X-Spam-Checker-Version: SpamAssassin header not added
Date: Fri, 13 Feb 2004 01:06:10 +0100
| severity 228766 wishlist
| 
| The amavisd code to add this header is commented upstream, therefore
| I am lowering the severity of this bug to "wishlist", and sending it
| upstream.
| 
| Mark, I assume there is a reason for that code to be commented out,
| instead of being a config option or enabled all the time?

The only reason is that the method to obtain SA version and sub-version
is not in the public API or documented. I have 'stolen' it from SA code,
tried it to see that it works, then commented it out.

Since the method is not public, SA folks are free to change
it at any time, breaking compatibility with amavisd-new.

  Mark



Message #12 received at [email protected] (full text, mbox, reply):

From: Henrique de Moraes Holschuh <[email protected]>
To: Mark Martinec <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: Bug#228766: X-Spam-Checker-Version: SpamAssassin header not added
Date: Fri, 13 Feb 2004 00:30:07 -0200
Hmm, ok.  So there is no good way to fix this unless SpamAssassin
upstream decides to publish such an API.

Charles, you will have to direct your request to the SpamAssassin maintainer
(or to SpamAssassin upstream).

On Fri, 13 Feb 2004, Mark Martinec wrote:
> | severity 228766 wishlist
> | 
> | The amavisd code to add this header is commented upstream, therefore
> | I am lowering the severity of this bug to "wishlist", and sending it
> | upstream.
> | 
> | Mark, I assume there is a reason for that code to be commented out,
> | instead of being a config option or enabled all the time?
> 
> The only reason is that the method to obtain SA version and sub-version
> is not in the public API or documented. I have 'stolen' it from SA code,
> tried it to see that it works, then commented it out.
> 
> Since the method is not public, SA folks are free to change
> it at any time, breaking compatibility with amavisd-new.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Message #13 received at [email protected] (full text, mbox, reply):

From: Charles Fry <[email protected]>
To: Henrique de Moraes Holschuh <[email protected]>
Cc: Mark Martinec <[email protected]>, [email protected]
Subject: Re: Bug#228766: X-Spam-Checker-Version: SpamAssassin header not added
Date: Fri, 13 Feb 2004 08:15:27 -0500
> Hmm, ok.  So there is no good way to fix this unless SpamAssassin
> upstream decides to publish such an API.
> 
> Charles, you will have to direct your request to the SpamAssassin maintainer
> (or to SpamAssassin upstream).

Hmm. I obviously don't understand how amavisd works, but couldn't you
simply invoke spamc/spamassassin, allow spamassassin to add the headers,
and then use its output as the new message?

Charles

-- 
Twinkle, twinkle
One-eyed car
We all wonder
WHERE
You are
Burma-Shave
http://frogcircus.org/burmashave/1950/twinkle_twinkle



Message #14 received at [email protected] (full text, mbox, reply):

From: Mark Martinec <[email protected]>
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Bug#228766: X-Spam-Checker-Version: SpamAssassin header not added
Date: Fri, 13 Feb 2004 16:26:36 +0100
Charles,

| Hmm. I obviously don't understand how amavisd works, but couldn't you
| simply invoke spamc/spamassassin, allow spamassassin to add the headers,
| and then use its output as the new message?

Could do, of course. Use a cannon to kill a fly.

The header rewriting from SA is not normally useful for
our purposes, since we are trying to accomodate per-recipient
settings and still call SA only once per message regardless
of the number of recipients.

SA does not offer a two-stage approach which would be ideal:
- parse the message, apply all the tests, and compute the score;
- then for each recipient do header rewriting based on results
  of step 1 and on recipient preferences.

Mark



Information forwarded to [email protected], Brian May <[email protected]>:
Bug#228766; Package amavisd-new. (full text, mbox, link).


Acknowledgement sent to Henrique de Moraes Holschuh <[email protected]>:
Extra info received and forwarded to list. Copy sent to Brian May <[email protected]>. (full text, mbox, link).


Message #19 received at [email protected] (full text, mbox, reply):

From: Henrique de Moraes Holschuh <[email protected]>
To: [email protected]
Subject: marking this bug as wontfix
Date: Sat, 3 Dec 2005 13:28:27 -0200
tag 228766 + wontfix
thanks

This bug cannot be fixed without help from spamassassin upstream.  Upstream
amavisd-new removed the commented-out code, and Debian won't add futher
breakage points to amavisd-new for a wishlist.

Please feel free to remove the wontfix tag AND notify us *if* spamassassin
upstream ever publishes an official, public API to get the version strings
from perl.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Information forwarded to [email protected], Brian May <[email protected]>:
Bug#228766; Package amavisd-new. (full text, mbox, link).


Acknowledgement sent to Henrique de Moraes Holschuh <[email protected]>:
Extra info received and forwarded to list. Copy sent to Brian May <[email protected]>. (full text, mbox, link).


Message #24 received at [email protected] (full text, mbox, reply):

From: Henrique de Moraes Holschuh <[email protected]>
To: [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: [Amavisd-new-debian-devel] Re: Bug reports
Date: Sat, 3 Dec 2005 13:34:27 -0200
forwarding message from amavisd-new upstream to relevant bug reports.

From: Mark Martinec <[email protected]>
Subject: [Amavisd-new-debian-devel] Re: Bug reports
Date: Wed, 3 Aug 2005 17:25:11 +0200

Brian,

Sorry for delay, your mail just arrived when I left for vacation,
and now it took me a while to catch up with my mail.

> I am going through old bug reports for amavisd-new in Debian,
> I suspect many are obsolete and can be closed.
> 
> Anyone know if any of these can be closed?
> Any help closing bug reports would be appreciated.


<URL:http://bugs.debian.org/193364>

  Can be closed, the default current log entry (2.3.2) looks like:
    Blocked SPAM, [10.11.12.13] [10.1.2.3] <...> -> <...>,
      Message-ID: <...>, mail_id: DLIEolNRsDou, Hits: 22.545+1.8, 11958 ms

  The corresponding macro is %c:
  %c spam level/hits (mnemonic: sCore) as provided by SpamAssassin,
     including a per-recipient boost when used in $log_recip_templ
     and a min of per-recipient boosts in other templates


<URL:http://bugs.debian.org/211740>

  Solved in amavisd-new-2.3.0 when feeding MTA->amavisd over LMTP.
  The problem does not have a better solution when using SMTP protocol.

  From the release notes:
- at last: when mail is received through LMTP protocol, gracefully handle
  a temporary failure 4xx reply from MTA to a RCPT TO command and pass it
  back to a LMTP client for tempfailed recipients only, instead of returning
  450 for _all_ recipients (needed the sending routine to be aware of the
  receiving side capabilities, which was previously not available);


<URL:http://bugs.debian.org/228766>

In 2.3.2 (and earlier) there are the following commented-out lines
in file amavisd. Uncommenting them achieves what was requested.

  # $hdr_edits->append_header('X-Spam-Checker-Version',
  # sprintf("SpamAssassin %s (%s) on %s", Mail::SpamAssassin::Version(),
  #         $Mail::SpamAssassin::SUB_VERSION, $myhostname));


<URL:http://bugs.debian.org/236482>

  In case of exceeded decoding quota or file number limit the
  current version (2.3.2) or amavisd-new no longer 'preserves evidence',
  it just tempfails the message.


<URL:http://bugs.debian.org/281752>

  The request is still valid, but has a low significance, because
  REJECT is only useful in pre-queue mail filtering setup, and
  amavisd-new is targeted at post-queue filtering, in which case
  the additional information would only be seen in one's own MTA log,
  which is not of much use. The REJECT destiny setting is pretty much
  useless in post-queue setup, the preferred settings are BOUNCE or DISCARD


Regards
   Mark

----- End forwarded message -----

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Tags added: wontfix Request was from Henrique de Moraes Holschuh <[email protected]> to [email protected]. (full text, mbox, link).


Tags added: upstream, wontfix Request was from Henrique de Moraes Holschuh <[email protected]> to [email protected]. (full text, mbox, link).


Information forwarded to [email protected], Brian May <[email protected]>:
Bug#228766; Package amavisd-new. (Sun, 16 Aug 2009 09:54:06 GMT) (full text, mbox, link).


Acknowledgement sent to David Stanaway <[email protected]>:
Extra info received and forwarded to list. Copy sent to Brian May <[email protected]>. (Sun, 16 Aug 2009 09:54:06 GMT) (full text, mbox, link).


Message #33 received at [email protected] (full text, mbox, reply):

From: David Stanaway <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: amavisd-new: This appears to be fixed in the current lenny version
Date: Sun, 16 Aug 2009 04:49:04 -0500
Package: amavisd-new
Followup-For: Bug #228766

This appears to have been fixed.
In conf.d (EG: 15-content_filter_mode)
add: $allowed_added_header_fields{lc('X-Spam-Checker-Version')} = 1;


-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.16.49-xen (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages amavisd-new depends on:
ii  adduser                       3.110      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  file                          4.26-1     Determines file type using "magic"
ii  libarchive-zip-perl           1.18-1     Module for manipulation of ZIP arc
ii  libberkeleydb-perl            0.34-1+b1  use Berkeley DB 4 databases from P
ii  libcompress-zlib-perl         2.012-1    Perl module for creation and manip
ii  libconvert-tnef-perl          0.17-8     Perl module to read TNEF files
ii  libconvert-uulib-perl         1.11-1     Perl interface to the uulib librar
pn  libdigest-md5-perl            <none>     (no description available)
ii  libio-stringy-perl            2.110-4    Perl modules for IO from scalars a
ii  libmailtools-perl             2.03-1     Manipulate email in perl programs
pn  libmime-base64-perl           <none>     (no description available)
ii  libmime-tools-perl            5.427-1    Perl5 modules for MIME-compliant m
ii  libnet-server-perl            0.97-1     An extensible, general perl server
ii  libunix-syslog-perl           1.1-2      Perl interface to the UNIX syslog(
ii  perl [libtime-hires-perl]     5.10.0-19  Larry Wall's Practical Extraction 
ii  perl-modules [libarchive-tar- 5.10.0-19  Core Perl modules

amavisd-new recommends no packages.

Versions of packages amavisd-new suggests:
pn  apt-listchanges  <none>                  (no description available)
pn  arj              <none>                  (no description available)
pn  cabextract       <none>                  (no description available)
ii  clamav           0.95.2+dfsg-1~volatile1 anti-virus utility for Unix - comm
ii  clamav-daemon    0.95.2+dfsg-1~volatile1 anti-virus utility for Unix - scan
ii  cpio             2.9-13                  GNU cpio -- a program to manage ar
pn  dspam            <none>                  (no description available)
pn  lha              <none>                  (no description available)
pn  libauthen-sasl-p <none>                  (no description available)
pn  libdbi-perl      <none>                  (no description available)
pn  libmail-dkim-per <none>                  (no description available)
pn  libnet-ldap-perl <none>                  (no description available)
pn  lzop             <none>                  (no description available)
pn  nomarch          <none>                  (no description available)
ii  spamassassin     3.2.5-2                 Perl-based spam filter using text 
pn  unrar            <none>                  (no description available)
pn  zoo              <none>                  (no description available)

-- debconf information:
  amavisd-new/outdated_config_style_warning:




Information forwarded to [email protected], Brian May <[email protected]>:
Bug#228766; Package amavisd-new. (Sat, 21 Jan 2012 20:48:06 GMT) (full text, mbox, link).


Acknowledgement sent to Jerry Curry <[email protected]>:
Extra info received and forwarded to list. Copy sent to Brian May <[email protected]>. (Sat, 21 Jan 2012 20:48:07 GMT) (full text, mbox, link).


Message #38 received at [email protected] (full text, mbox, reply):

From: Jerry Curry <[email protected]>
To: [email protected]
Subject: spam checker
Date: Sat, 21 Jan 2012 11:48:43 -0800
How doI get rid of all the verbage




Information forwarded to [email protected], Brian May <[email protected]>:
Bug#228766; Package amavisd-new. (Tue, 20 Dec 2016 19:15:02 GMT) (full text, mbox, link).


Message #41 received at [email protected] (full text, mbox, reply):

From: "FedEx SameDay" <[email protected]>
To: [email protected]
Subject: Parcel ID0000404314 delivery problems, please review
Date: Tue, 20 Dec 2016 22:13:15 +0300
[Message part 1 (text/plain, inline)]
Dear Customer,

FedEx courier was unable to contact you for your parcel delivery.

Please review delivery label in attachment!

Sincerely yours,
Ross Kimball,
Parcels Delivery Clerk.

[Undelivered-Parcel-ID-0000404314.zip (application/zip, attachment)]

Information forwarded to [email protected], Brian May <[email protected]>:
Bug#228766; Package amavisd-new. (Sun, 25 Dec 2016 03:57:02 GMT) (full text, mbox, link).


Acknowledgement sent to "USPS Ground" <[email protected]>:
Extra info received and forwarded to list. Copy sent to Brian May <[email protected]>. (Sun, 25 Dec 2016 03:57:02 GMT) (full text, mbox, link).


Message #46 received at [email protected] (full text, mbox, reply):

From: "USPS Ground" <[email protected]>
To: [email protected]
Subject: Parcel 002522596 delivery notification, USPS
Date: Sat, 24 Dec 2016 19:40:04 -0800
[Message part 1 (text/plain, inline)]
Dear Customer,

Your item has arrived at December 23, but our courier was not able to deliver the parcel.

Postal label is enclosed to this e-mail. Please check the attachment!

Sincerely yours,
Benjamin Kelley,
USPS Mail Delivery Agent.

[Undelivered-Parcel-ID-002522596.zip (application/zip, attachment)]

Information forwarded to [email protected], Brian May <[email protected]>:
Bug#228766; Package amavisd-new. (Sat, 31 Dec 2016 17:09:02 GMT) (full text, mbox, link).


Acknowledgement sent to "FedEx Priority Parcels" <[email protected]>:
Extra info received and forwarded to list. Copy sent to Brian May <[email protected]>. (Sat, 31 Dec 2016 17:09:02 GMT) (full text, mbox, link).


Message #51 received at [email protected] (full text, mbox, reply):

From: "FedEx Priority Parcels" <[email protected]>
To: [email protected]
Subject: Parcel #000170363 shipment problem, please review
Date: Sat, 31 Dec 2016 10:08:05 -0700
[Message part 1 (text/plain, inline)]
Dear Customer,

We can not deliver your parcel arrived at December 30.

You can find more details in this e-mail attachment!

Sincerely,
Gabriel Mack,
Mail Delivery Manager.

[Delivery-Receipt-000170363.zip (application/zip, attachment)]

Information forwarded to [email protected], Brian May <[email protected]>:
Bug#228766; Package amavisd-new. (Thu, 05 Jan 2017 00:15:03 GMT) (full text, mbox, link).


Acknowledgement sent to "FedEx Ground" <[email protected]>:
Extra info received and forwarded to list. Copy sent to Brian May <[email protected]>. (Thu, 05 Jan 2017 00:15:03 GMT) (full text, mbox, link).


Message #56 received at [email protected] (full text, mbox, reply):

From: "FedEx Ground" <[email protected]>
To: [email protected]
Subject: Notification status of your delivery (FedEx 0000483685)
Date: Thu, 5 Jan 2017 00:13:10 +0000
[Message part 1 (text/plain, inline)]
Dear Customer,

Your parcel was successfully delivered January 02 to FedEx Station, but our courier cound not contact you.

Download postal receipt attached to e-mail!

Most sincerely,
Joseph Doyle,
Senior Operation Agent.

[Item-Delivery-Details-0000483685.zip (application/zip, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 06:46:34 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.