Your message dated Mon, 10 Aug 2009 16:32:46 +0000
with message-id <[email protected]>
and subject line Bug#539148: fixed in spamassassin 3.2.5-5
has caused the Debian Bug report #539148,
regarding Undocumented spamc exit status 98
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
539148: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539148
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: spamc
Version: 3.2.3-0.volatile1
Architecture: i386
Hi,
When attempting to learn a message as ham/spam using the spamc -L
option, a message larger than the max-size setting (default 512000) will
return an exit status of 98, which is not documented in the man page.
Here is an example, feeding 524288 bytes (which is larger than the
default max-size setting of 512000) into spamc, in 'learn' mode:
$ dd if=/dev/zero bs=32k count=16 | spamc -L spam
16+0 records in
16+0 records out
524288 bytes (524 kB) copied, 0.0101715 seconds, 51.5 MB/s
$ echo $?
98
The only clue as to what this exit status meant was the following
message written to syslog for the 'mail' facility:
spamc[28720]: skipped message, greater than max message size (512000 bytes)
I determine this #define to be the source of the '98' exit status, which
is actually a truncation of the decimal value 866 to 8 bits:
spamc/libspamc.h:86:#define EX_TOOBIG 866
I've attached a suggested addition to spamc.pod to explain what a '98'
exit status means. I'm hoping that all architectures truncate the exit
status to 8-bits...
Regards,
--
Steven Chamberlain
[email protected]
diff -Nru spamassassin-3.2.5.orig/spamc/spamc.pod
spamassassin-3.2.5/spamc/spamc.pod
--- spamassassin-3.2.5.orig/spamc/spamc.pod 2008-06-10 10:21:07.000000000
+0100
+++ spamassassin-3.2.5/spamc/spamc.pod 2009-07-29 12:49:33.000000000 +0100
@@ -298,6 +298,7 @@
EX_PROTOCOL 76 remote error in protocol
EX_NOPERM 77 permission denied
EX_CONFIG 78 configuration error
+ EX_TOOBIG 98 message larger than max-size
=head1 SEE ALSO
--- End Message ---
--- Begin Message ---
Source: spamassassin
Source-Version: 3.2.5-5
We believe that the bug you reported is fixed in the latest version of
spamassassin, which is due to be installed in the Debian FTP archive:
spamassassin_3.2.5-5.diff.gz
to pool/main/s/spamassassin/spamassassin_3.2.5-5.diff.gz
spamassassin_3.2.5-5.dsc
to pool/main/s/spamassassin/spamassassin_3.2.5-5.dsc
spamassassin_3.2.5-5_all.deb
to pool/main/s/spamassassin/spamassassin_3.2.5-5_all.deb
spamc_3.2.5-5_i386.deb
to pool/main/s/spamassassin/spamc_3.2.5-5_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Noah Meyerhans <[email protected]> (supplier of updated spamassassin package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 10 Aug 2009 12:07:10 -0400
Source: spamassassin
Binary: spamassassin spamc
Architecture: source all i386
Version: 3.2.5-5
Distribution: unstable
Urgency: low
Maintainer: [email protected]
Changed-By: Noah Meyerhans <[email protected]>
Description:
spamassassin - Perl-based spam filter using text analysis
spamc - Client for SpamAssassin spam filtering daemon
Closes: 509273 510711 530896 537477 539148
Changes:
spamassassin (3.2.5-5) unstable; urgency=low
.
* Remove open-whois.org as it is cybersquatted (Closes: #537477)
* Update debhelper compatibility level to 7.
* Apply patch to init script to provide a "status" command (Closes: #530896)
* Fix missing documentation of spamc exit code 98 (Closes: #539148)
* Backport IPv6 support for the Received header parser (Closes: #510711)
* Fix additional pod2man errors. We're finally lintian-clean!
* Update Standards-Version to 3.8.2 (no changes needed).
* Fix typo in spamd manpage (Closes: #509273)
Checksums-Sha1:
7b4e3b99172853a4f5b90d86474450a0854e4fbe 1386 spamassassin_3.2.5-5.dsc
d2f368c6159cea8fc66da2baf829ea0c62e1f079 45722 spamassassin_3.2.5-5.diff.gz
26f6e469f75e965e862618d6393c5abd039701ef 1100938 spamassassin_3.2.5-5_all.deb
9b1ad15b9ebedc42217bf05601e10d6690e51895 72866 spamc_3.2.5-5_i386.deb
Checksums-Sha256:
9d035f10df5e3c2348f725dd7984885c159c827c67a4dc8cca26ecd5961d1601 1386
spamassassin_3.2.5-5.dsc
deeced60d4659f155b75bbede33a65ac82905e9efc297d6906df1b88721a6ff5 45722
spamassassin_3.2.5-5.diff.gz
a27a3aa251727a5eaa5303aabbb2084fa4b21958f121856a895cc06c96080beb 1100938
spamassassin_3.2.5-5_all.deb
a8b7c181d92ec9aac9c6336cf00a427ffc78151fe8e987f477252ed1e37238a7 72866
spamc_3.2.5-5_i386.deb
Files:
8582f6ed2f5e23c1d1baa4c98383b95f 1386 mail optional spamassassin_3.2.5-5.dsc
315a95d620988e992886d62f29cd3982 45722 mail optional
spamassassin_3.2.5-5.diff.gz
7370a2d69f62fdf7464ce1518b175e48 1100938 mail optional
spamassassin_3.2.5-5_all.deb
e2fd6932a1cd0dea4d8262171e3bd5f1 72866 mail optional spamc_3.2.5-5_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKgEfUYrVLjBFATsMRAqMCAJ4rYiQABvL4+f5KjKJhi/q+9wwN/ACfeFRJ
JoyLGJ/UfTSSk8vOZzWg2lk=
=iU2d
-----END PGP SIGNATURE-----
--- End Message ---