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
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
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
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
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
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
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
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
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:
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.
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.
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).
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.
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.
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/.