debian/0000755000000000000000000000000012115167343007171 5ustar debian/rules0000755000000000000000000000016311642523143010247 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_build: ./make-doc.sh override_dh_clean: $(RM) doc/*.* dh_clean debian/install0000644000000000000000000000007612115166635010570 0ustar sa-learn-cyrus usr/sbin sa-learn-cyrus.conf etc/spamassassin debian/control0000644000000000000000000000225511642523143010576 0ustar Source: sa-learn-cyrus Section: web Priority: extra Maintainer: Jan Hauke Rahm Build-Depends: debhelper (>= 7.0.50~) Build-Depends-Indep: perl Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/collab-maint/sa-learn-cyrus.git Vcs-Browser: http://git.debian.org/?p=collab-maint/sa-learn-cyrus.git;a=summary Package: sa-learn-cyrus Architecture: all Depends: cyrus-imapd-2.4 | kolab-cyrus-imapd, spamassassin, ${perl:Depends}, ${misc:Depends} Homepage: http://www.pollux.franken.de/mail-server-tools/sa-learn-cyrus/ Description: Train SpamAssassin with spam/ham from user's imap mailbox(es) sa-learn-cyrus is a perl script using sa-learn from the SpamAssassin package to train it knowing spam and ham. sa-learn-cyrus gets its spam and ham messages from Cyrus-imapd mailboxes instead of mbox files or Maildirs as sa-learn does. This is useful for Cyrus users who for example sort their missed spam into a subfolder and let sa-learn-cyrus read it out (e.g. using a cron job). . SpamAssassin is spam filter with numerous features including automatic white-listing, RBL testing, Bayesian analysis, header and body text analysis. . Cyrus is a fully-featured IMAP daemon. debian/source/0000755000000000000000000000000011642523143010467 5ustar debian/source/format0000644000000000000000000000001411642523143011675 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000407612115167343011052 0ustar sa-learn-cyrus (0.3.5-1.1) unstable; urgency=low * Non-maintainer upload. * Fix "directory vs. symlink conflict: /etc/mail/spamassassin": install sa-learn-cyrus.conf into (real) /etc/spamassassin/ instead of (symlinked) /etc/mail/spamassassin. (Closes: #701131) -- gregor herrmann Mon, 04 Mar 2013 19:58:37 +0100 sa-learn-cyrus (0.3.5-1) unstable; urgency=low * [7b54f2e6] New website structure means new debian/watch line * [aaffa072] Imported Upstream version 0.3.5 + Support for spamassassin's --virtual-config-dir (Closes: #644451) -- Jan Hauke Rahm Wed, 30 Nov 2011 19:16:25 +0100 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 -- Jan Hauke Rahm Tue, 04 Oct 2011 08:23:37 +0200 sa-learn-cyrus (0.3.2-1) unstable; urgency=low * New upstream release + Bugfix: With imap:domains not empty (domain support activated) the parser didn't find all mailboxes having the same local part. + Log output now includes the domain names along with mailboxes. * debian/control: Changing priority from "optional" to "extra" * debian/control: Fixed: could not install with kolab-cyrus-imapd (Closes: #474505) * debian/control: Add SVN info * debian/rules: Adding an additional dh_clean -- Jan Hauke Rahm Sun, 27 Apr 2008 10:32:28 +0200 sa-learn-cyrus (0.3.1-1) unstable; urgency=low * Initial release. (Closes: #435137: ITP: sa-learn-cyrus -- wrapper for sa-learn (from spamassassin) reading spam/ham messages from cyrus-imapd mailboxes) -- Jan Hauke Rahm Tue, 25 Mar 2008 21:38:07 +0100 debian/compat0000644000000000000000000000000211642523143010365 0ustar 7 debian/manpages0000644000000000000000000000003011642523143010676 0ustar doc/sa-learn-cyrus.8.gz debian/README.Debian0000644000000000000000000000111111642517451011227 0ustar sa-learn-cyrus Please note: sa-learn-cyrus is designed to work with a side-wide bayes database. To work out correctly you need to set the bayes_path in your settings. Amavis user would put something like bayes_path /var/lib/amavis/.spamassassin/bayes into /etc/spamassassin/local.cf. It is not possible to set this in sa-learn-cyrus.conf since sa-learn itself needs this setting. Otherwise it would search for /root/.spamassassin or similar. See http://bugs.debian.org/474505 for some information about what could happen without this setting. Jan Hauke Rahm debian/copyright0000644000000000000000000000200411642523143011116 0ustar Original source may be found at: http://www.pollux.franken.de/mail-server-tools/sa-learn-cyrus/ Files: * Copyright: © 2007-2011 Hans-Jürgen Beie License: GPL-2+ | Artistic This program is free software; you can redistribute it and/or modify it under the terms of either: a) the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version, or b) the "Artistic License" which comes with Perl. Files: debian/* Copyright: © 2008-2011 Jan Hauke Rahm License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2' and the Artistic Licence in `/usr/share/common-licenses/Artistic'. debian/docs0000644000000000000000000000002511642523143010037 0ustar doc/*.html doc/*.txt debian/watch0000644000000000000000000000025111665467435010236 0ustar version=3 opts=dversionmangle=s/\+dfsg\d+$// \ http://www.pollux.franken.de/en/mail-server-tools/sa-learn-cyrus/download/ \ uploads/media/sa-learn-cyrus-(.*)\.tar\.gz