Your message dated Tue, 04 Oct 2011 06:49:00 +0000
with message-id <[email protected]>
and subject line Bug#599776: fixed in sa-learn-cyrus 0.3.4+dfsg1-1
has caused the Debian Bug report #599776,
regarding sa-learn-cyrus fails if Spam/Ham folder is more than 2 levels deep
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.)
--
599776: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=599776
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sa-learn-cyrus
Version: 0.3.2-2
Severity: normal
These settings cause sa-learn-cyrus to fail:
spam_folder = 'Junk.Learn.Spam'
ham_folder = 'Junk.Learn.Ham'
This is because the substitution that converts from cyrus "." notation to
unix "/" notation isn't global so it only changes the first ".". The
following patch fixes the issue for me:
--- sa-learn-cyrus.orig 2010-10-10 19:46:20.000000000 -0700
+++ sa-learn-cyrus 2010-10-10 19:45:48.000000000 -0700
@@ -262,9 +262,9 @@
for my $learn ('spam' , 'ham') {
my $learn_folder = $conf{"mailbox:$learn" . '_folder'};
# if unixhierarchy is set, veryify folderstring [FM]
- $learn_folder =~ s/\./\// if $conf{'imap:unixhierarchysep'} =~
/^[yY]/;
+ $learn_folder =~ s/\./\//g if $conf{'imap:unixhierarchysep'} =~
/^[yY]/;
my $learn_path = $learn_folder;
- $learn_path =~ s/\./\//;
+ $learn_path =~ s/\./\//g;
$learn_folder =
"$imap_mail_box$imap_unixhierarchysep$learn_folder";
$learn_path = $imap_mail_path . '/' . $learn_path;
Thanks,
David
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages sa-learn-cyrus depends on:
ii cyrus-imapd-2.2 2.2.13-19 Cyrus mail system - IMAP support
ii perl 5.10.1-14 Larry Wall's Practical Extraction
ii spamassassin 3.3.1-1 Perl-based spam filter using text
sa-learn-cyrus recommends no packages.
sa-learn-cyrus suggests no packages.
-- Configuration Files:
/etc/mail/spamassassin/sa-learn-cyrus.conf changed:
[global]
tmp_dir = /tmp
lock_file = /var/lock/sa-learn-cyrus.lock
verbose = 1
simulate = no
[mailbox]
include_list = ''
include_regexp = '.*'
exclude_list = ''
exclude_regexp = ''
spam_folder = 'Junk.Learn.Spam'
ham_folder = 'Junk.Learn.Ham'
remove_spam = yes
remove_ham = yes
[sa]
site_config_path = /etc/spamassassin
prefs_file = /etc/spamassassin/local.cf
learn_cmd = /usr/bin/sa-learn
user = mail
group = spam-bayes
debug = no
[imap]
base_dir = /var/spool/cyrus/mail
initial_letter = yes
domains = ''
unixhierarchysep = no
purge_cmd = /usr/sbin/ipurge
user = cyrus
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: sa-learn-cyrus
Source-Version: 0.3.4+dfsg1-1
We believe that the bug you reported is fixed in the latest version of
sa-learn-cyrus, which is due to be installed in the Debian FTP archive:
sa-learn-cyrus_0.3.4+dfsg1-1.debian.tar.gz
to main/s/sa-learn-cyrus/sa-learn-cyrus_0.3.4+dfsg1-1.debian.tar.gz
sa-learn-cyrus_0.3.4+dfsg1-1.dsc
to main/s/sa-learn-cyrus/sa-learn-cyrus_0.3.4+dfsg1-1.dsc
sa-learn-cyrus_0.3.4+dfsg1-1_all.deb
to main/s/sa-learn-cyrus/sa-learn-cyrus_0.3.4+dfsg1-1_all.deb
sa-learn-cyrus_0.3.4+dfsg1.orig.tar.gz
to main/s/sa-learn-cyrus/sa-learn-cyrus_0.3.4+dfsg1.orig.tar.gz
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.
Jan Hauke Rahm <[email protected]> (supplier of updated sa-learn-cyrus 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: SHA512
Format: 1.8
Date: Tue, 04 Oct 2011 08:23:37 +0200
Source: sa-learn-cyrus
Binary: sa-learn-cyrus
Architecture: source all
Version: 0.3.4+dfsg1-1
Distribution: unstable
Urgency: low
Maintainer: Jan Hauke Rahm <[email protected]>
Changed-By: Jan Hauke Rahm <[email protected]>
Description:
sa-learn-cyrus - Train SpamAssassin with spam/ham from user's imap mailbox(es)
Closes: 504268 599776 611257
Changes:
sa-learn-cyrus (0.3.4+dfsg1-1) unstable; urgency=low
.
* [4863f6fb] Promoted from DM to DD
* [356d6304] Moving maintenance to git on collab-maint
* [a3e1714f] Imported Upstream version 0.3.4+dfsg1
(Closes: #504268, #599776, #611257)
* [db75fc54] Update debian/copyright
* [99708ec2] Switch to 3.0 (quilt)
* [c76bc4ef] Switch to dh7
* [a2d1b6c1] Bump Standards-Version to 3.9.2
* [bbede841] Mangle debian version (dfsg\d) in debian/watch
* [9e5bed44] Bump dependency on cyrus-imapd
Checksums-Sha1:
1f0278ca93c46f06a4461f87206f132263f41755 1920 sa-learn-cyrus_0.3.4+dfsg1-1.dsc
f37c48da9f52a29c5c300fd6da49e4df6eb5849a 14924
sa-learn-cyrus_0.3.4+dfsg1.orig.tar.gz
31e608e8099536ddf36b3c65623db02d22bd9122 2576
sa-learn-cyrus_0.3.4+dfsg1-1.debian.tar.gz
bed692159deff4c6f12d4ddf72cd40e8a956b2ce 34874
sa-learn-cyrus_0.3.4+dfsg1-1_all.deb
Checksums-Sha256:
6dfec8b6fc3ec4915523b1fd925c50fc46a62fcb912ba937d9f80cd7fece174e 1920
sa-learn-cyrus_0.3.4+dfsg1-1.dsc
8bc88de91cab5687dffa1aa22a599e86e0dab6cea3a0b88e7861c5a785ad86ff 14924
sa-learn-cyrus_0.3.4+dfsg1.orig.tar.gz
ac94b2657f605dc4635fd869e06fd72b230946128281b1e7cd4319d85eae017d 2576
sa-learn-cyrus_0.3.4+dfsg1-1.debian.tar.gz
c7a968d074cc248da8b4ac6034b4270977bd7f172c43222d59e328e107516605 34874
sa-learn-cyrus_0.3.4+dfsg1-1_all.deb
Files:
5f4b9ca75d2ebaecbc9e30d88f2d2f51 1920 web extra
sa-learn-cyrus_0.3.4+dfsg1-1.dsc
606bc5263af9df7a8e3f1e4f380966bd 14924 web extra
sa-learn-cyrus_0.3.4+dfsg1.orig.tar.gz
c0113e8805dd55fb9a365ecb58dbbb4b 2576 web extra
sa-learn-cyrus_0.3.4+dfsg1-1.debian.tar.gz
f4976a81978a57707d00fde44c55f706 34874 web extra
sa-learn-cyrus_0.3.4+dfsg1-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCgAGBQJOiqdpAAoJEOCD7BUSMcRlav0P/1F79lG2kG7LPIJL7PcugCco
BPxk8KMIBkGpqyRLt3gdZERva7jx8hCzpDT+GlzymNPDtgpRAb9gKMR5OWUx39u0
kUzL9ydfS9Lv5C477kB2lxpbpotyrv9I4g5OUAvMqbp/JC8NKN1fwrZ78lgf3An6
XwmZ1tB+JCLnAXtwRcZefxQb5LyI61euKf7RM75cb0skghaWWSRsjoPOZ9hQrcOb
xcsLIwzPgAB0HN2B7KXHqvcMdvhHPKqE6WeolEByIw+hqY7BWwObLzbW15tiHnuj
ad0oR40ieRMsHdzrHLBVTxuD5M2MBJPQBno0/8Z1C1TjcfYicdQduHgnKnvVrOHh
Vspibrm+RxeBTR57hWmLihfbnul+nPJfzVq5+6HqQ6+X+QdUeWNjOLejNCh7Fw+8
TKwj90tTnGIfWFNzvltDoMmM4E7wshC55FqUWPI6f6REYTUian96fbmSnMsyfpcv
m0f18XtCT08J5pJDBoXOoBMZf+CIj26GpnIjRXzFt+GBBtmVee73UpHD0dlzwYV7
lp7ETSawQDAPsPavztehWW8P+Xuir0t7wq7+FzBZY6KJrrS/tyNGFQbSa95jGQe8
Yv2MbGsLvoOkmemNykO0xP0bhOhtFs5l0J0+ueavJ32rvhW1Y2AyE+YD+qxSOjz3
H/n+JlMDqIzJNbYHQpMQ
=CkCY
-----END PGP SIGNATURE-----
--- End Message ---