debian/0000775000000000000000000000000012303400154007160 5ustar debian/spamassassin.cron.daily0000664000000000000000000000416012277606423013673 0ustar #!/bin/sh # Duncan Findlay # duncf@debian.org # Daily cronjob for SpamAssassin updates. This isn't pretty but it # should do the job. CRON=0 test -f /etc/default/spamassassin && . /etc/default/spamassassin test -x /usr/bin/sa-update || exit 0 test -x /etc/init.d/spamassassin || exit 0 if [ "$CRON" = "0" ] ; then exit 0 fi # If there's a problem with the ruleset or configs, print the output # of spamassassin --lint (which will typically get emailed to root) # and abort. die_with_lint() { su - debian-spamd -c "spamassassin --lint -D 2>&1" exit 1 } do_compile() { # Compile rules if the required tools are available. Prior to version # 3.3.2-8, there was an additional check to verify that an sa-compile # run had previously been executed by hand. With sa-learn now # distributed in a separate, optional, package, this check is no # longer necessary. if [ -x /usr/bin/re2c -a -x /usr/bin/sa-compile ]; then su - debian-spamd -c "sa-compile --quiet" # Fixup perms -- group and other should be able to # read and execute, but never write. Works around # sa-compile's failure to obey umask. chmod -R go-w,go+rX /var/lib/spamassassin/compiled fi } # Tell a running spamd to reload its configs and rules. reload() { # Reload if which invoke-rc.d >/dev/null 2>&1; then invoke-rc.d spamassassin reload > /dev/null else /etc/init.d/spamassassin reload > /dev/null fi if [ -d /etc/spamassassin/sa-update-hooks.d ]; then run-parts --lsbsysinit /etc/spamassassin/sa-update-hooks.d fi } # Sleep for up to 3600 seconds RANGE=3600 number=`od -vAn -N2 -tu4 < /dev/urandom` number=`expr $number "%" $RANGE` sleep $number # Update umask 022 su - debian-spamd -c "sa-update --gpghomedir /var/lib/spamassassin/sa-update-keys" case $? in 0) # got updates! su - debian-spamd -c "spamassassin --lint" || die_with_lint do_compile reload ;; 1) # no updates exit 0 ;; 2) # lint failed! die_with_lint ;; *) echo "sa-update failed for unknown reasons" 1>&2 ;; esac debian/sa-compile.dirs0000664000000000000000000000002112277606423012106 0ustar etc/spamassassin debian/README.postfix0000664000000000000000000000225712277606423011562 0ustar Integration SpamAssassin with Postfix This file contains information on how to integrate SpamAssassin with Postfix for incoming mails. 1. Set SpamAssassin to start after booting the system Edit /etc/defaults/spamassassin and set SpamAssassin to start after a reboot. 2. Start SpamAssassin /etc/init.d/spamassassin start 3. Create a filter user. adduser --disabled-password --disabled-login --gecos "Postfix Filter User" filter 4. Create the filter script. Under ~filter, create filter.sh: #!/bin/sh /bin/cat | /usr/bin/spamc -f | /usr/sbin/sendmail -i "$@" exit $? Be sure to chmod it to 750, at least. A more complete example can be found under /usr/share/doc/spamassassin/examples 5. Set /etc/postfix/master.cf It must contain the following lines: localhost:smtp inet n - - - - smtpd :smtp inet n - - - - smtpd -o content_filter=filter: [...] filter unix - n n - - pipe flags=Rq user=filter argv=/home/filter/filter.sh -f ${sender} -- ${recipient} 6. Reload postfix As root, exec: #> postfix reload That should be it. Aug 2003, Jesus Climent debian/spamassassin.default0000664000000000000000000000161412277606423013256 0ustar # /etc/default/spamassassin # Duncan Findlay # WARNING: please read README.spamd before using. # There may be security risks. # Change to one to enable spamd ENABLED=0 # Options # See man spamd for possible options. The -d option is automatically added. # SpamAssassin uses a preforking model, so be careful! You need to # make sure --max-children is not set to anything higher than 5, # unless you know what you're doing. OPTIONS="--create-prefs --max-children 5 --helper-home-dir" # Pid file # Where should spamd write its PID to file? If you use the -u or # --username option above, this needs to be writable by that user. # Otherwise, the init script will not be able to shut spamd down. PIDFILE="/var/run/spamd.pid" # Set nice level of spamd #NICE="--nicelevel 15" # Cronjob # Set to anything but 0 to enable the cron job to automatically update # spamassassin's rules on a nightly basis CRON=0 debian/spamc.dirs0000664000000000000000000000001012277606423011156 0ustar usr/bin debian/65_debian.cf0000664000000000000000000000165312277606423011254 0ustar # Special SpamAssassin rules for Debian # Duncan Findlay header D_SENT_BY_DEBCONF Subject =~ /^Debconf:/ score D_SENT_BY_DEBCONF -5.0 describe D_SENT_BY_DEBCONF Sent by Debconf body D_SENT_BY_AFBACKUP /^\[Afbackup\]: Overall exit status:/ score D_SENT_BY_AFBACKUP -5.0 describe D_SENT_BY_AFBACKUP Sent by Afbackup header D_SENT_BY_APTLC Subject =~ /^apt-listchanges: (changelogs|news) for/ score D_SENT_BY_APTLC -5.0 describe D_SENT_BY_APTLC Sent by apt-listchanges header __ANACRON_SUBJ Subject =~ /^Anacron job '[a-z0-9_.-]+' on/i header __ANACRON_FROM From =~ /^Anacron/ meta D_SENT_BY_ANACRON __ANACRON_SUBJ && __ANACRON_FROM score D_SENT_BY_ANACRON -5.0 describe D_SENT_BY_ANACRON Sent by Anacron Daemon header __CRON_FROM From =~ /^Cron Daemon/ header __CRON_HEADER X-Cron-Env =~ /./ meta D_SENT_BY_CRON __CRON_FROM && __CRON_HEADER score D_SENT_BY_CRON -5.0 describe D_SENT_BY_CRON Sent by Cron Daemon debian/watch0000664000000000000000000000015712277606423010235 0ustar version=2 http://www.apache.org/dist/spamassassin/source/Mail-SpamAssassin-(.*)\.tar\.gz \ debian uupdate debian/NEWS0000664000000000000000000001032712277606423007703 0ustar spamassassin (3.3.2-8) unstable; urgency=low As of spamassassin 3.3.2-8, sa-compile has been split into its own package. If you want to use sa-compile to increase spamassassin's efficiency and throughput, you'll need to install it explicitly. -- Noah Meyerhans Sun, 09 Feb 2014 14:45:30 -0800 spamassassin (3.3.1-2) unstable; urgency=low This version of spamassassin introduces a change in behavior when using SSL to encrypt communication between spamc and spamd. This change only affects usage of spamc or spamd with the --ssl option. Due to protocol insecurity, OpenSSL has removed support for SSL version 2. Consequently, the "sslv2" and "sslv23" options have been removed from spamc and spamd. The default option is sslv3. This change should be transparent unless you are using spamc or spamd with a peer that is explicitly configured to use only sslv2 -- Noah Meyerhans Sun, 10 Apr 2011 18:27:36 -0700 spamassassin (3.3.0-2) unstable; urgency=low Prior to version 3.3.0, spamassassin defaulted to having the auto-whitelist plugin enabled. This is no longer the case. If you wish to continue using it, you will want to add loadplugin Mail::SpamAssassin::Plugin::AWL to /etc/spamassassin/local.pre Additionally, note that if you have added any custom configuration options related to the auto-whitelist plugin (e.g. auto_whitelist_factory), the upgrade from to 3.3.0 from prior versions may fail unless you explicitly enable the plugin. -- Noah Meyerhans Sun, 28 Feb 2010 19:37:34 -0800 spamassassin (3.2.5-7) unstable; urgency=high This version of SpamAssassin fixes a bug which caused mails sent in 2010 to be flagged as suspiciously spammy. If upgrading to this version, you are recommended to update any per-user caches previously created by sa-compile, and to check mail already in your spam folder for false positives more carefully than usual. -- Joey Hess Fri, 01 Jan 2010 12:03:40 -0500 spamassassin (3.2.0-1) unstable; urgency=low This version of SpamAssassin contains a new feature which can be used to greatly improve the performance of SpamAssassin. Read README.Debian and the sa-compile man page for more information. This version now includes a cron job to automatically update the SpamAssassin rules on a daily basis. To enable it, edit /etc/default/spamassassin -- Duncan Findlay Mon, 21 May 2007 11:17:49 -0400 spamassassin (3.1.1-1) unstable; urgency=low This is a new upstream release containing mostly bug fixes. The largest change is the inclusion of a (fixed) script called sa-update that can be used to download the latest rules from upstream. To use it run sa-update as root. In the future, this may, by default, run from a cron job automatically, but in the interim it is a manual process. -- Duncan Findlay Sun, 7 May 2006 17:27:34 -0400 spamassassin (3.1.0a-1) unstable; urgency=low This is a new major upstream release with many new features. Detailed information on the upgrade is available in /usr/share/doc/spamassassin/UPGRADE.gz. The most important changes are documented here. If you have made local configuration changes, you will probably want to read that documentation to ensure you configuration is still correct. DCC and Razor support have been disabled by default, since they are no longer free for non-personal use. To re-enable them, edit /etc/spamassassin/v310.pre More Bayes storage modules have been added. The default, using perl's DB_File module, is the slowest. You may wish to switch to the SDBM storage module (uses perl's SDBM_File module). If you are currently using the SQL module, you may wish to switch to using the MySQL or PgSQL modules. To switch storage modules, follow the steps listed in the "MIGRATION" section of the sa-learn(1) man page. Spamd and spamc now support Bayes learning, if the --allow-tell or -l option is given to spamd. Please note that there may be security implications with enabling this option. (Command line options to spamd are changed in /etc/default/spamassassin) -- Duncan Findlay Wed, 5 Oct 2005 14:40:41 -0400 debian/sa-compile.postinst0000664000000000000000000000113312277606423013035 0ustar #!/bin/sh set -e sa_compile() { OWNER=$(stat -c '%U' /var/lib/spamassassin) # Compile, if rules have previously been compiled, and it's possible if [ -x /usr/bin/re2c -a -x /usr/bin/sa-compile ]; then echo "Running sa-compile (may take a long time)" su - $OWNER -c "sa-compile --quiet" invoke-rc.d spamassassin restart fi } if [ "$1" = "configure" ]; then sa_compile fi if [ "$1" = "triggered" ] && [ "$2" = "perl-major-upgrade" ]; then sa_compile fi #DEBHELPER# # Local variables: # mode: shell-script # tab-width: 4 # indent-tabs-mode: nil # end: debian/patches/0000775000000000000000000000000012277606423010630 5ustar debian/patches/90_pod_cleanup0000664000000000000000000000360412277606423013357 0ustar Index: spamassassin-3.4.0-rc5/lib/Mail/SpamAssassin/Conf.pm =================================================================== --- spamassassin-3.4.0-rc5.orig/lib/Mail/SpamAssassin/Conf.pm 2014-02-11 19:57:05.888080590 -0800 +++ spamassassin-3.4.0-rc5/lib/Mail/SpamAssassin/Conf.pm 2014-02-11 20:55:04.065327910 -0800 @@ -3586,7 +3586,7 @@ Whether to call the services_authorized_for_username plugin hook in BayesSQL. If the hook does not determine that the user is allowed to use bayes or is -invalid then then database will not be initialized. +invalid then the database will not be initialized. NOTE: By default the user is considered invalid until a plugin returns a true value. If you enable this, but do not have a proper plugin Index: spamassassin-3.4.0-rc5/lib/Mail/SpamAssassin/Plugin/DCC.pm =================================================================== --- spamassassin-3.4.0-rc5.orig/lib/Mail/SpamAssassin/Plugin/DCC.pm 2014-02-11 19:48:54.765645239 -0800 +++ spamassassin-3.4.0-rc5/lib/Mail/SpamAssassin/Plugin/DCC.pm 2014-02-11 20:53:58.885004374 -0800 @@ -1091,3 +1091,5 @@ } 1; + +=back Index: spamassassin-3.4.0-rc5/lib/Mail/SpamAssassin/Plugin/DNSEval.pm =================================================================== --- spamassassin-3.4.0-rc5.orig/lib/Mail/SpamAssassin/Plugin/DNSEval.pm 2014-02-11 19:48:54.765645239 -0800 +++ spamassassin-3.4.0-rc5/lib/Mail/SpamAssassin/Plugin/DNSEval.pm 2014-02-11 20:53:39.208906306 -0800 @@ -325,6 +325,7 @@ This checks all the from addrs domain names as an alternate to check_rbl_from_host =cut + sub check_rbl_from_domain { _check_rbl_addresses(@_, $_[1]->all_from_addrs_domains()); } @@ -334,6 +335,7 @@ Adds capability check for "if can()" for check_rbl_from_domain =cut + sub has_check_rbl_from_domain { 1 } # this only checks the address host name and not the domain name because @@ -412,3 +414,5 @@ } 1; + +=back debian/patches/98_sa-compile-quiet0000664000000000000000000000143412277606423014253 0ustar Index: spamassassin-3.4.0~rc5/lib/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm =================================================================== --- spamassassin-3.4.0~rc5.orig/lib/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm 2014-01-11 09:13:23.000000000 -0800 +++ spamassassin-3.4.0~rc5/lib/Mail/SpamAssassin/Plugin/BodyRuleBaseExtractor.pm 2014-02-14 21:34:59.109796791 -0800 @@ -192,7 +192,8 @@ dbg("zoom: giving up on regexp: $eval_stat"); }; - if ($lossy && ($tflags->{$name}||'') =~ /\bmultiple\b/) { + if ($lossy && ($tflags->{$name}||'') =~ /\bmultiple\b/ && + $self->{show_progress}) { warn "\nzoom: rule $name will loop on SpamAssassin older than 3.3.2 ". "running under Perl 5.12 or older, Bug 6558\n"; } debian/patches/97_bug720499-pod-5.180000664000000000000000000000145612277606423013525 0ustar Description: fix POD errors with perl 5.18 Wrap number-like items in C<>, to avoid parser complains Author: Damyan Ivanov Bug-Debian: http://bugs.debian.org/720499 --- a/sa-check_spamd.raw +++ b/sa-check_spamd.raw @@ -424,21 +424,21 @@ exiting with one of these values: =over 4 -=item 0 +=item C<0> OK: A spamd ping response was received within all threshold times. -=item 1 +=item C<1> WARNING: A spamd ping response exceeded the warning threshold but not the critical threshold. -=item 2 +=item C<2> CRITICAL: A spamd ping response exceeded either the critical threshold or the timeout value. -=item 3 +=item C<3> UNKNOWN: An error, probably caused by a missing dependency or an invalid configuration parameter being supplied, occurred in the sa-check_spamd program. debian/patches/30_edit_README0000664000000000000000000000111312277606423013013 0ustar Index: b/README =================================================================== --- a/README 2010-01-26 23:16:56.000000000 -0500 +++ b/README 2010-01-26 23:16:57.000000000 -0500 @@ -129,11 +129,6 @@ If the files exist in /etc/spamassassin, they will not be overwritten during future installs. - - /usr/share/spamassassin/user_prefs.template: - - Distributed default user preferences. Do not modify this, as it is - overwritten when you upgrade. - - /etc/spamassassin/user_prefs.template: Default user preferences, for system admins to create, modify, and debian/patches/55_disable_nagios_epm0000664000000000000000000000101512277606423014665 0ustar Index: spamassassin-3.3.2/sa-check_spamd.raw =================================================================== --- spamassassin-3.3.2.orig/sa-check_spamd.raw 2011-06-06 16:59:19.000000000 -0700 +++ spamassassin-3.3.2/sa-check_spamd.raw 2012-06-11 00:31:13.000000000 -0700 @@ -1,4 +1,9 @@ #!/usr/bin/perl -w +# +# Inform the Nagios embedded perl interpreter that this script is +# incompatible. http://bugs.debian.org/598573 +# nagios: -epn +# ######################################################################## # debian/patches/10_change_config_paths0000664000000000000000000003735312277606423015037 0ustar Index: spamassassin-3.4.0-rc5/INSTALL =================================================================== --- spamassassin-3.4.0-rc5.orig/INSTALL 2014-01-11 09:13:25.000000000 -0800 +++ spamassassin-3.4.0-rc5/INSTALL 2014-02-10 21:35:08.872487528 -0800 @@ -462,7 +462,7 @@ perl interpreter. Version 2.83 or later fixes this. If you do not plan to use this plugin, be sure to comment out - its loadplugin line in "/etc/mail/spamassassin/v310.pre". + its loadplugin line in "/etc/spamassassin/v310.pre". What Next? Index: spamassassin-3.4.0-rc5/README =================================================================== --- spamassassin-3.4.0-rc5.orig/README 2014-01-11 09:13:25.000000000 -0800 +++ spamassassin-3.4.0-rc5/README 2014-02-10 21:35:08.876487542 -0800 @@ -111,13 +111,13 @@ not modify these, as they are overwritten when you run "sa-update". - - /etc/mail/spamassassin/*.cf: + - /etc/spamassassin/*.cf: Site config files, for system admins to create, modify, and add local rules and scores to. Modifications here will be appended to the config loaded from the above directory. - - /etc/mail/spamassassin/*.pre: + - /etc/spamassassin/*.pre: Plugin control files, installed from the distribution. These are used to control what plugins are loaded. Modifications here will @@ -126,7 +126,7 @@ You want to modify these files if you want to load additional plugins, or inhibit loading a plugin that is enabled by default. - If the files exist in /etc/mail/spamassassin, they will not + If the files exist in /etc/spamassassin, they will not be overwritten during future installs. - /usr/share/spamassassin/user_prefs.template: @@ -134,14 +134,14 @@ Distributed default user preferences. Do not modify this, as it is overwritten when you upgrade. - - /etc/mail/spamassassin/user_prefs.template: + - /etc/spamassassin/user_prefs.template: Default user preferences, for system admins to create, modify, and set defaults for users' preferences files. Takes precedence over the above prefs file, if it exists. Do not put system-wide settings in here; put them in a file in the - "/etc/mail/spamassassin" directory ending in ".cf". This file is + "/etc/spamassassin" directory ending in ".cf". This file is just a template, which will be copied to a user's home directory for them to change. Index: spamassassin-3.4.0-rc5/UPGRADE =================================================================== --- spamassassin-3.4.0-rc5.orig/UPGRADE 2014-01-11 09:13:25.000000000 -0800 +++ spamassassin-3.4.0-rc5/UPGRADE 2014-02-10 21:35:08.876487542 -0800 @@ -49,7 +49,7 @@ perldoc Mail::SpamAssassin::Plugin::* (ie AWL, DCC, etc) - There are now multiple files read to enable plugins in the - /etc/mail/spamassassin directory; previously only one, "init.pre" was + /etc/spamassassin directory; previously only one, "init.pre" was read. Now both "init.pre", "v310.pre", and any other files ending in ".pre" will be read. As future releases are made, new plugins will be added to new files named according to the release they're @@ -207,7 +207,7 @@ - If you are using a UNIX machine with all database files on local disks, and no sharing of those databases across NFS filesystems, you can use a more efficient, but non-NFS-safe, locking mechanism. Do this by adding - the line "lock_method flock" to the /etc/mail/spamassassin/local.cf + the line "lock_method flock" to the /etc/spamassassin/local.cf file. This is strongly recommended if you're not using NFS, as it is much faster than the NFS-safe locker. Index: spamassassin-3.4.0-rc5/USAGE =================================================================== --- spamassassin-3.4.0-rc5.orig/USAGE 2014-01-11 09:13:25.000000000 -0800 +++ spamassassin-3.4.0-rc5/USAGE 2014-02-10 21:35:08.876487542 -0800 @@ -117,7 +117,7 @@ CPU-intensive task before they can send mail to you, so we give that some bonus points. However, it requires that you list what addresses you expect to receive mail for, by adding 'hashcash_accept' lines to - your ~/.spamassassin/user_prefs or /etc/mail/spamassassin/local.cf + your ~/.spamassassin/user_prefs or /etc/spamassassin/local.cf files. See the Mail::SpamAssassin::Plugin::Hashcash manual page for details on how to specify these. @@ -129,14 +129,14 @@ - You can create your own system-wide rules files in - /etc/mail/spamassassin; their filenames should end in ".cf". Multiple + /etc/spamassassin; their filenames should end in ".cf". Multiple files will be read, and SpamAssassin will not overwrite these files when installing a new version. - You should not modify the files in /usr/share/spamassassin; these will be overwritten when you upgrade. Any changes you make in - files in the /etc/mail/spamassassin directory, however, will + files in the /etc/spamassassin directory, however, will override these files. Index: spamassassin-3.4.0-rc5/ldap/README =================================================================== --- spamassassin-3.4.0-rc5.orig/ldap/README 2014-01-11 09:13:24.000000000 -0800 +++ spamassassin-3.4.0-rc5/ldap/README 2014-02-10 21:35:08.880487560 -0800 @@ -13,7 +13,7 @@ database or LDAP server. SpamAssassin will check the global configuration file (ie. any file matching -/etc/mail/spamassassin/*.cf) for the following settings: +/etc/spamassassin/*.cf) for the following settings: user_scores_dsn ldap://host:port/dc=basedn,dc=de?attr?scope?uid=__USERNAME__ user_scores_ldap_username bind dn Index: spamassassin-3.4.0-rc5/lib/Mail/SpamAssassin/Conf.pm =================================================================== --- spamassassin-3.4.0-rc5.orig/lib/Mail/SpamAssassin/Conf.pm 2014-01-11 09:13:24.000000000 -0800 +++ spamassassin-3.4.0-rc5/lib/Mail/SpamAssassin/Conf.pm 2014-02-10 21:35:08.884487581 -0800 @@ -40,7 +40,7 @@ =head1 DESCRIPTION SpamAssassin is configured using traditional UNIX-style configuration files, -loaded from the C and C +loaded from the C and C directories. The following web page lists the most important configuration settings @@ -2517,7 +2517,7 @@ These settings differ from the ones above, in that they are considered 'privileged'. Only users running C from their procmailrc's or -forward files, or sysadmins editing a file in C, can +forward files, or sysadmins editing a file in C, can use them. C users cannot use them in their C files, for security and efficiency reasons, unless C is enabled (and then, they may only add rules from below). Index: spamassassin-3.4.0-rc5/lib/Mail/SpamAssassin/Plugin/Test.pm =================================================================== --- spamassassin-3.4.0-rc5.orig/lib/Mail/SpamAssassin/Plugin/Test.pm 2014-01-11 09:13:23.000000000 -0800 +++ spamassassin-3.4.0-rc5/lib/Mail/SpamAssassin/Plugin/Test.pm 2014-02-10 21:35:08.888487608 -0800 @@ -27,7 +27,7 @@ =head1 DESCRIPTION To try this plugin, write the above two lines in the synopsis to -C. +C. =cut Index: spamassassin-3.4.0-rc5/lib/spamassassin-run.pod =================================================================== --- spamassassin-3.4.0-rc5.orig/lib/spamassassin-run.pod 2014-01-11 09:13:24.000000000 -0800 +++ spamassassin-3.4.0-rc5/lib/spamassassin-run.pod 2014-02-10 21:35:08.888487608 -0800 @@ -41,7 +41,7 @@ -p prefs, --prefspath=file, --prefs-file=file Set user preferences file --siteconfigpath=path Path for site configs - (def: /etc/mail/spamassassin) + (def: /etc/spamassassin) --cf='config line' Additional line of configuration -x, --nocreate-prefs Don't create user preferences file -e, --exit-code Exit with a non-zero exit code if the @@ -240,7 +240,7 @@ =item B<--siteconfigpath>=I Use the specified path for locating site-specific configuration files. Ignore -the default directories (usually C or similar). +the default directories (usually C or similar). =item B<--cf='config line'> Index: spamassassin-3.4.0-rc5/rules/user_prefs.template =================================================================== --- spamassassin-3.4.0-rc5.orig/rules/user_prefs.template 2014-01-11 09:13:08.000000000 -0800 +++ spamassassin-3.4.0-rc5/rules/user_prefs.template 2014-02-10 21:35:08.888487608 -0800 @@ -5,7 +5,7 @@ #* directory. At runtime, if a user has no preferences in their home directory #* already, it will be copied for them, allowing them to perform personalised #* customisation. If you want to make changes to the site-wide defaults, -#* create a file in /etc/spamassassin or /etc/mail/spamassassin instead. +#* create a file in /etc/spamassassin instead. ########################################################################### # How many points before a mail is considered spam. Index: spamassassin-3.4.0-rc5/sa-compile.raw =================================================================== --- spamassassin-3.4.0-rc5.orig/sa-compile.raw 2014-01-11 09:13:25.000000000 -0800 +++ spamassassin-3.4.0-rc5/sa-compile.raw 2014-02-10 21:35:08.892487621 -0800 @@ -675,7 +675,7 @@ -p prefs, --prefspath=file, --prefs-file=file Set user preferences file --siteconfigpath=path Path for site configs - (default: /etc/mail/spamassassin) + (default: /etc/spamassassin) --updatedir=path Directory to place updates (default: @@LOCAL_STATE_DIR@@/compiled//@@VERSION@@) --cf='config line' Additional line of configuration @@ -740,7 +740,7 @@ =item B<--siteconfigpath>=I Use the specified path for locating site-specific configuration files. Ignore -the default directories (usually C or similar). +the default directories (usually C or similar). =item B<--updatedir> Index: spamassassin-3.4.0-rc5/sa-learn.raw =================================================================== --- spamassassin-3.4.0-rc5.orig/sa-learn.raw 2014-01-11 09:13:25.000000000 -0800 +++ spamassassin-3.4.0-rc5/sa-learn.raw 2014-02-10 21:35:08.892487621 -0800 @@ -649,7 +649,7 @@ -p prefs, --prefspath=file, --prefs-file=file Set user preferences file --siteconfigpath=path Path for site configs - (default: /etc/mail/spamassassin) + (default: /etc/spamassassin) --cf='config line' Additional line of configuration -D, --debug [area=n,...] Print debugging messages -V, --version Print version @@ -806,7 +806,7 @@ =item B<--siteconfigpath>=I Use the specified path for locating site-specific configuration files. Ignore -the default directories (usually C or similar). +the default directories (usually C or similar). =item B<--cf='config line'> Index: spamassassin-3.4.0-rc5/spamc/spamc.pod =================================================================== --- spamassassin-3.4.0-rc5.orig/spamc/spamc.pod 2014-01-11 09:13:09.000000000 -0800 +++ spamassassin-3.4.0-rc5/spamc/spamc.pod 2014-02-10 21:35:08.896487637 -0800 @@ -278,8 +278,8 @@ If the B<-F> switch is specified, that file will be used. Otherwise, C will attempt to load spamc.conf in C (default: -/etc/mail/spamassassin). If that file doesn't exist, and the B<-F> -switch is not specified, no configuration file will be read. +/etc/spamassassin). If that file doesn't exist, and the B<-F> switch +is not specified, no configuration file will be read. Example: Index: spamassassin-3.4.0-rc5/spamd/README =================================================================== --- spamassassin-3.4.0-rc5.orig/spamd/README 2014-01-11 09:13:12.000000000 -0800 +++ spamassassin-3.4.0-rc5/spamd/README 2014-02-10 21:35:08.896487637 -0800 @@ -105,7 +105,7 @@ If you plan to use Bayesian classification (the BAYES rules) with spamd, you will need to either - 1. modify /etc/mail/spamassassin/local.cf to use a shared database of + 1. modify /etc/spamassassin/local.cf to use a shared database of tokens, by setting the 'bayes_path' setting to a path all users can read and write to. You will also need to set the 'bayes_file_mode' setting to 0666 so that created files are shared, too. Index: spamassassin-3.4.0-rc5/spamd/README.vpopmail =================================================================== --- spamassassin-3.4.0-rc5.orig/spamd/README.vpopmail 2014-01-11 09:13:12.000000000 -0800 +++ spamassassin-3.4.0-rc5/spamd/README.vpopmail 2014-02-10 21:35:08.896487637 -0800 @@ -43,7 +43,7 @@ /home/vpopmail/domains/somedomain.net/4/userid/.spamassassin/user_prefs 5. One gotcha - cannot have personal AWL dbs - only a sitewide AWL will work. -This is specified in your /etc/mail/spamassassin/local.cf file. Perhaps a +This is specified in your /etc/spamassassin/local.cf file. Perhaps a future enhancement would be to add the capability to have personal AWL db. 6. Of course vpopmail must have the seekable patch installed (see Index: spamassassin-3.4.0-rc5/spamd/spamd.raw =================================================================== --- spamassassin-3.4.0-rc5.orig/spamd/spamd.raw 2014-01-11 09:13:12.000000000 -0800 +++ spamassassin-3.4.0-rc5/spamd/spamd.raw 2014-02-10 21:35:08.904487686 -0800 @@ -3203,7 +3203,7 @@ =item B<--siteconfigpath>=I Use the specified path for locating site-specific configuration files. Ignore -the default directories (usually C or similar). +the default directories (usually C or similar). =item B<--cf='config line'> Index: spamassassin-3.4.0-rc5/sql/README =================================================================== --- spamassassin-3.4.0-rc5.orig/sql/README 2014-01-11 09:13:09.000000000 -0800 +++ spamassassin-3.4.0-rc5/sql/README 2014-02-10 21:35:08.904487686 -0800 @@ -18,7 +18,7 @@ SQL preferences. SpamAssassin will check the global configuration file (ie. any file matching -/etc/mail/spamassassin/*.cf) for the following settings: +/etc/spamassassin/*.cf) for the following settings: user_scores_dsn DBI:driver:connection user_scores_sql_username dbusername Index: spamassassin-3.4.0-rc5/sql/README.awl =================================================================== --- spamassassin-3.4.0-rc5.orig/sql/README.awl 2014-01-11 09:13:09.000000000 -0800 +++ spamassassin-3.4.0-rc5/sql/README.awl 2014-02-10 21:35:08.904487686 -0800 @@ -15,7 +15,7 @@ auto_whitelist_factory Mail::SpamAssassin::SQLBasedAddrList SpamAssassin will check the global configuration file (ie. any file -matching /etc/mail/spamassassin/*.cf) for the following settings: +matching /etc/spamassassin/*.cf) for the following settings: user_awl_dsn DBI:driver:database:hostname[:port] user_awl_sql_username dbusername Index: spamassassin-3.4.0-rc5/t/data/testplugin.pm =================================================================== --- spamassassin-3.4.0-rc5.orig/t/data/testplugin.pm 2014-01-11 09:13:11.000000000 -0800 +++ spamassassin-3.4.0-rc5/t/data/testplugin.pm 2014-02-10 21:35:08.904487686 -0800 @@ -1,6 +1,6 @@ =head1 testplugin.pm -To try this out, write these lines to /etc/mail/spamassassin/plugintest.cf: +To try this out, write these lines to /etc/spamassassin/plugintest.cf: loadplugin myTestPlugin header MY_TEST_PLUGIN eval:check_test_plugin() debian/patches/series0000664000000000000000000000020712277606423012044 0ustar 10_change_config_paths 20_edit_spamc_pod 30_edit_README 55_disable_nagios_epm 90_pod_cleanup 97_bug720499-pod-5.18 98_sa-compile-quiet debian/patches/20_edit_spamc_pod0000664000000000000000000000057412277606423014034 0ustar Index: spamassassin-3.4.0-rc5/spamc/spamc.pod =================================================================== --- spamassassin-3.4.0-rc5.orig/spamc/spamc.pod 2014-02-10 21:35:08.896487637 -0800 +++ spamassassin-3.4.0-rc5/spamc/spamc.pod 2014-02-10 21:35:58.860735402 -0800 @@ -331,7 +331,7 @@ =head1 SEE ALSO -spamd(1) +spamd(8) spamassassin(1) Mail::SpamAssassin(3) debian/README.source0000664000000000000000000000102012277606423011351 0ustar The upstream tarball includes a minimal debian/ subdirectory. Our tarball has been modified from upstream in that we delete that subdirectory and replace it with our own. As of spamassassin 3.3.0, upstream releases no longer include filter rules. Using dpkg source format 3.0, we include a snapshot of upstream's rules in a "pkgrules" subdirectory. However, since spammers are constantly modifying their filter evasion techniques, it is highly recommended that sa-update be used periodically to refresh rules from upstream. debian/changelog0000664000000000000000000013536712303400154011051 0ustar spamassassin (3.4.0-1ubuntu1) trusty; urgency=medium * Add missing python test dependency. -- Martin Pitt Wed, 26 Feb 2014 15:55:34 +0100 spamassassin (3.4.0-1) unstable; urgency=low * New upstream version! (Closes: 738963, 738872, 738867) * Scrub the environment when switching to the debian-spamd user in postinst and cron.daily. (Closes: 738951) * Enhancements to postinst to better manage ownership of /var/lib/spamassassin, via Iain Lane (Closes: 738974) -- Noah Meyerhans Fri, 14 Feb 2014 22:45:15 -0800 spamassassin (3.3.2-8) unstable; urgency=low * Split sa-compile into a separate package. (Closes: 455084) * Return an lsb-compliant exit code from /etc/init.d/spamassassin status even if we're disabled in /etc/default/spamassassin. (Closes: 716691) * Remove Jesus Climent from Uploaders. * Bump standards version to 3.9.5 (no changes) -- Noah Meyerhans Sun, 09 Feb 2014 15:44:35 -0800 spamassassin (3.3.2-7) unstable; urgency=low * Incorporate upstream's fix for syntax warnings when running under perl 5.18 (Closes: #721565) * Bump standards version to 3.9.4 (no changes) * Incorporate Ubuntu's dep-8 autopkgtests. (Closes: 710881) -- Noah Meyerhans Sun, 22 Sep 2013 14:44:37 -0700 spamassassin (3.3.2-6.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS with perl 5.18: POD failure": add patch 97_bug720499-pod-5.18 from Damyan Ivanov: fix POD errors with perl 5.18 (Closes: #720499) -- gregor herrmann Fri, 30 Aug 2013 17:48:37 +0200 spamassassin (3.3.2-6) unstable; urgency=low * Remove tests referring to NJABL, which has shut down as of March 1, 2013. (Closes: #702839) -- Noah Meyerhans Mon, 11 Mar 2013 22:33:26 -0700 spamassassin (3.3.2-5) unstable; urgency=low * Import upstream's fix for a crash in SIGCHLD handler (Closes: #694504) -- Noah Meyerhans Mon, 28 Jan 2013 21:51:58 -0800 spamassassin (3.3.2-4) unstable; urgency=low * Incorporate upstream's fix for a bug where malformed multipart MIME messages would bypass URIBL rules. (Closes: #684709) * Update standards version to 3.9.3 (no changes) -- Noah Meyerhans Mon, 13 Aug 2012 21:37:11 -0700 spamassassin (3.3.2-3.2) unstable; urgency=low * Non-maintainer upload. * debian/spamassassin.postinst: Create /var/lib/spamassassin. Closes: #684373. -- Bart Martens Sat, 11 Aug 2012 17:29:42 +0000 spamassassin (3.3.2-3.1) unstable; urgency=low * Non-maintainer upload. * move GPG.KEY out of /usr/share/doc per ยง12.3(Closes: #683431) -- Shawn Landden Sat, 04 Aug 2012 16:20:46 +0000 spamassassin (3.3.2-3) unstable; urgency=low * Run sa-update and sa-compile as a non-root user. (Closes: 623861, 504154) * Store the default gpg keyring in /var/lib/spamassassin * Pod cleanup (Closes: 521064) * Note sa-check_spamd's incompatibility with Nagios EPM (Closes: 598573) * Adjust perms on /var/lib/spamassassin/compiled after running sa-compile in the cron.daily, not on all of /var/lib/spamassassin * Set CFLAGS and LDFLAGS using dpkg-buildflags (Closes: 674016) -- Noah Meyerhans Thu, 14 Jun 2012 23:00:01 -0700 spamassassin (3.3.2-2) unstable; urgency=low * Remove dependencies on libdigest-sha1-perl, since it's being removed from Debian. (Closes: #629612) -- Noah Meyerhans Thu, 18 Aug 2011 17:07:05 -0700 spamassassin (3.3.2-1) unstable; urgency=low * New upstream rc release. (Closes: 615590, 626191, 630327, 626751, 631583) * Bump standards version to 3.9.2 (no changes) * Add a README.source indicating that our orig.tar.gz differs from upstream in that we need to delete their debian/ subdirectory. * Delete patches that have been incorporated upstream. -- Noah Meyerhans Sat, 14 May 2011 12:06:12 -0700 spamassassin (3.3.1-2) unstable; urgency=low * Disable SSLv2 support due to its removal from OpenSSL (Closes: 622053) * Apply a patch from Dominic Hargreaves to register spamassassin for the perl-major-upgrade trigger (Closes: 619817) * Bump standards version to 3.9.1. -- Noah Meyerhans Sun, 10 Apr 2011 20:58:34 -0700 spamassassin (3.3.1-1) unstable; urgency=low * New upstream version. * Update several patches now that bugfixes have been incorporated upstream. -- Noah Meyerhans Sun, 21 Mar 2010 23:20:31 -0700 spamassassin (3.3.0-2) unstable; urgency=low * Document the fact that auto-whitelist is now disabled by default and that this may affect upgrades from version <3.3.0 (Closes: #570734) * Stop ignoring output from sa-compile and instead use its undocumented "quiet" option. (Closes: #563802) * Don't ignore output from /etc/init.d/spamassassin when reloading spamd after sa-update downloads updates (Closes: #565227) * Run the contents of /etc/spamassassin/sa-update-hooks.d/ using run-parts following a successful download of new rules via sa-update in the daily cron script. (Closes: #315961, #567205) * Fix a problem in debian/rules where manpage generation for sa-awl and sa-check_spamd happened in the wrong rule. * Bump standards compliance to 3.8.4 (no changes needed) -- Noah Meyerhans Mon, 01 Mar 2010 00:57:24 -0800 spamassassin (3.3.0-1) unstable; urgency=low * New upstream version. * Switch to dpkg-source 3.0 (quilt) format -- Noah Meyerhans Tue, 26 Jan 2010 22:53:12 -0500 spamassassin (3.2.5-7) unstable; urgency=high * Fix a bunch of spelling errors in spamassassin documentation. * Add ${misc:Depends} to spamassassin Depends. * Fix FH_DATE_PAST_20XX so dates in 2010 aren't considered "grossly in the future" -- Noah Meyerhans Fri, 01 Jan 2010 12:51:32 -0500 spamassassin (3.2.5-6) unstable; urgency=low * Fix call to "make install" in debian/rules to handle changes to ExtUtils::MakeMaker in perl. (Closes: #549726) * Fix Makefile.PL so DESTDIR actually works when provided on the "make install" commandline. * Updated to standards compliance 3.8.3, dropping versioned build-dep on perl (>= 5.6.0) * Switch from dh_clean -k to dh_prep in debian/rules * Add versioned build-dep on debhelper 7 -- Noah Meyerhans Tue, 06 Oct 2009 17:51:02 -0400 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) -- Noah Meyerhans Mon, 10 Aug 2009 12:07:10 -0400 spamassassin (3.2.5-4) unstable; urgency=low * "Lintian, you will torment me no more!" * Add patches/60_fix-pod.dpatch to fix a whole mess of pod warnings * set -e in prerm, preinst, and postinst per policy * Add patches/70_fix-whatis.dpatch to fix lintian's complaints about missing whatis entries in several manpages. * Fix some more man errors by shortening some long lines. -- Noah Meyerhans Mon, 23 Feb 2009 12:21:57 -0500 spamassassin (3.2.5-3) unstable; urgency=low * Add an alternate dependency on libio-zlib-perl (>= 1.04) to ease backporting (yeah, should have been done three uploads ago...) * Set myself as the Maintainer per Duncan's request. * Explicity set a umask (022) in /etc/cron.daily/spamassassin * Don't compress GPG.KEY, since we need to use it during postinst and it's small. * Add Andrew Schulman's fix for sa-learn to properly handle a case where an empty folder list is given as a source of training data. (Closes: 491159) -- Noah Meyerhans Wed, 18 Feb 2009 22:15:20 -0500 spamassassin (3.2.5-2) unstable; urgency=low [ Duncan Findlay ] * Add Recommends: on libio-socket-inet6-perl (Closes: 481696) * Ship GPG.KEY and call sa-update --import in the postinst to work around broken key. (Closes: 486408) * Work around permissions issues from sa-compile and sa-update. (Closes: 491232, 470834) [ Noah Meyerhans ] * Remove obsolete DSBL blacklist (Closes: #501122) * Bump standards version to 3.8.0. This should have been done with 3.2.5-1, since that's where we made the changes to support this version. * Document the fact that spamhaus and SURBL are free only for smaller sites and may require sites exceeding a certain threshold of mail volume to pay for service. (Closes: #505273) -- Noah Meyerhans Mon, 17 Nov 2008 00:53:11 -0500 spamassassin (3.2.5-1) unstable; urgency=low * New upstream version. (Closes: 482010, 475526) * Remove debian/patches/91_pg_8.1_bayes.dpatch, which is now in upstream's release. * Stop shipping the entire text of the Apache license now that it's in common-licenses. -- Noah Meyerhans Tue, 17 Jun 2008 21:18:16 -0400 spamassassin (3.2.4-2) unstable; urgency=low * Fix Vcs-Svn entry in debian/control * Add $syslog to Should-Start in the LSB header in spamassassin.init, since we'd like spamd to be able to send its logs somewhere. * replaced versioned dependency on libio-zlib-perl with dependency on perl-modules >= 5.10 (Closes: #479462) * Add myself to Uploaders * Incorporate a patch from Ubuntu containing upstream's fix to the SQL Bayes store on postgresql 8.1 and above -- Noah Meyerhans Tue, 13 May 2008 21:58:00 -0400 spamassassin (3.2.4-1) unstable; urgency=low * New upstream release (Closes: #466620) * Stop creating directories /etc/logcheck/ignore.d.paranoid and /etc/logcheck/violations.ignore.d * Modify preinst to find and delete old, unchanged /etc/logcheck/ignore.d.paranoid/spamassassin and /logcheck/violations.ignore.d/spamassassin files (Closes: #454370) * Add LSB init info to /etc/init.d/spamassassin (Closes: #451726) - Patch from Petter Reinholdtsen. - Note that this probably doesn't really show all the dependencies, further patches welcome. * Replace Recommends: on libmail-spf-query-perl with one on libmail-spf-perl (Closes: #448671) * Drop Suggests: on dcc-client, as it has been removed from Debian (Closes: #434169) * Drop version on libarchive-tar-perl dependency to avoid issues with perl-modules 5.10.0 (Closes: #466903) -- Duncan Findlay Sun, 02 Mar 2008 07:18:07 -0800 spamassassin (3.2.3-1) unstable; urgency=low * New upstream release (Closes: #435144) - Fixes errors with allow_user_rules (Closes: #437816) - Fix "spamc -x" (Closes: #376380) * Avoid DOSing with sa-update by sleeping a random interval less than an hour before downloading and compiling updates. (Closes: #428319) * Check for existence of Makefile instead of using "-$(MAKE) veryclean" in debian/rules (to satisfy lintian) * Fix spurious inclusion of INSTALL.orig in 10_change_config_paths.dpatch, causing debian/rules clean to fail. (Closes: #442734) -- Duncan Findlay Sun, 28 Oct 2007 22:52:20 -0700 spamassassin (3.2.1-1) unstable; urgency=low * New upstream release - Fixes security vulnerability CVE-2007-2873 - Silences loud warning message (Closes: #425685) - Properly document message size "limit" (Closes: #402241) * Recommends: gcc, libc6-dev, make for sa-compile (Closes: #427725) * Fixed out of date section in README.Debian discussing sa-update (Closes: #428316) * Clarified how sa-compile works in README.Debian (Closes: #427862) * Check in cron.daily that /var/lib/spamassassin/compiled exists (i.e. only compile rules if sa-compile has previously been run) * Recompile rules in postinst if /var/lib/spamassassin/compiled exists (and sa-update and re2c exist) -- Duncan Findlay Mon, 11 Jun 2007 14:36:38 -0700 spamassassin (3.2.0-2) unstable; urgency=low * Fix cron script to exit 0 if sa-update does not find new updates (Closes: #425962) * Add libnet-dns-perl to Build-Depends. (Closes: #425932) -- Duncan Findlay Sun, 27 May 2007 22:25:07 -0400 spamassassin (3.2.0-1) unstable; urgency=low * New upstream release (Closes: #422692, #411022) - New plugin and script "sa-compile" should greatly improve performance if enabled (Closes: #394939) - Fix ordering of lines in sa-update generated files (Closes: #413978) - Fix parsing of Exim received headers (Closes: #357696) - Stop requiring Crypt::OpenSSL::Bignum with DKIM (Closes: #400437) - Better handling of trusted_networks (Closes: #290927) - More robust prefork mechanism for spamd (multiple bugs fixed) (Closes: #336236, #396500, #341055) - Better handling of Unicode (Closes: #333882) - Different rules, scores (Closes: #337617) - Doesn't flag certain PGP/MIME messages as empty (Closes: #367635) - sa-learn man-page now looks okay in 80 columns (Closes: #312263) * Put 65_debian.cf in /etc/spamassassin instead of /usr/share/spamassassin/ (Closes: #376610) * Recommend libsys-syslog-perl, gnupg (Closes: #395872, #402572, #374435) * Depend on libsys-hostname-perl (libnet-dns-perl needs it?) (Closes: #400435) * Suggest libmail-dkim-perl (Closes: #391655) * Change the init script to properly restart spamd (would fail if it had been previously HUP'd) * Install daily cronjob that will automatically update to the newest rules (off by default, enable in /etc/default/spamassassin) (Closes: #374432) * Make sa-update's prerequisites Depends instead of Recommends. (Closes: #408472) * Stop pointing to the README for mail stream integration help in README.Debian (Closes: #374714) * Remove reference to libnet-dns-perl now that it's required in README.Debian (Closes: #319478) -- Duncan Findlay Mon, 21 May 2007 10:08:17 -0400 spamassassin (3.1.7-2) unstable; urgency=high * Security fixes backported from 3.1.8: - CVE-2007-0451: potential DoS with long URIs found in the message content (Closes: #410843) - Prevents perl code from being loaded via sa-update by default (override with --allowplugins) (SpamAssassin bug 5240) -- Duncan Findlay Wed, 14 Feb 2007 21:46:52 -0500 spamassassin (3.1.7-1) unstable; urgency=low * New upstream release (Closes: #385450, #396600) - Fixes handling of PGP/MIME messages (Closes: #367365) - Fixes URIDNSBL warning of invalid bitwise or (Closes: #373914) - Fix date handling bug (Closes: #362913) * Fix README.Debian now that libnet-dns-perl isn't a dependency anymore (Closes: #374377) -- Duncan Findlay Thu, 2 Nov 2006 01:43:42 -0500 spamassassin (3.1.4-1) unstable; urgency=low * New upstream release - Fixed a bug where sa-update's failure would leave SA without rules (Closes: #370357) - Fix BSMTP with exim (Closes: #375286) - gtube.t test failed with non-english locales. - Fixed memory leak with Bayes and BayesStore. -- Jesus Climent Thu, 10 Aug 2006 22:40:09 +0300 spamassassin (3.1.3-1) unstable; urgency=high * New upstream release - Fixes spamd --vpopmail/--paranoid remote command execution bug. This has been assigned CVE-2006-2447. -- Duncan Findlay Sun, 4 Jun 2006 18:24:05 -0400 spamassassin (3.1.2-1) unstable; urgency=low * New upstream release - Razor2 support re-enabled by default - sa-learn should now return an error code when it can't find the target file (Closes: #261346) * Now really depends on libarchive-tar-perl; depends on libwww-perl, libio-zlib-perl for sa-update (Closes: #348884, #359874, #366700, #368424) -- Duncan Findlay Sun, 4 Jun 2006 14:56:56 -0400 spamassassin (3.1.1-1) unstable; urgency=low * New upstream release (Closes: #356995, #360994) - Better error handling when DNS is broken (Closes: #340753) - bayes_storage_module documented better (Closes: #333792) - Fix typo in UPGRADE (Closes: #335794) - Better exception handling (Closes: #333330, #333131) - Fix sa-learn --restore with SDBM (Closes: #333793) * Document broken identd servers (Closes: #355475) * Now depends on libarchive-tar-perl (Closes: #348884) * Add reference on how to force bayes expiry using a cronjob (Closes: #334829, #300490) * Drop logcheck files -- these should/will be in the logcheck-database package. (See bug #) * Move libnet-dns-perl back to a Recommends:. The loud warnings should have been silenced upstream. -- Duncan Findlay Wed, 9 Nov 2005 16:55:03 -0500 spamassassin (3.1.0a-2) unstable; urgency=low * Greatly improved the usefulness of spamassassin's README.Debian * Moved libnet-dns-perl to a dependency and added libsocket6-perl as a dependency to avoid an obscure IPv6 related bug, and loud warnings (Closes: #332906, #335279, #335671, #327832) * Fixed the logcheck filters (Closes: #333430, #304363) -- Duncan Findlay Wed, 9 Nov 2005 16:52:41 -0500 spamassassin (3.1.0a-1) unstable; urgency=low * Upload to unstable * Clean up NEWS.Debian, so it isn't so verbose for people upgrading from 3.0.x -- Duncan Findlay Wed, 5 Oct 2005 17:03:50 -0400 spamassassin (3.1.0-1) experimental; urgency=low * New upstream release. * Add libdigest-sha1-perl to Build-Depends. -- Jesus Climent Sun, 25 Sep 2005 17:19:15 +0300 spamassassin (3.0.99pre3.1.0+rc2-1) experimental; urgency=low * New upstream release * Upstream bug fixes: - MIME boundary regexp improved (Closes: #288617) -- Duncan Findlay Tue, 30 Aug 2005 00:01:11 -0400 spamassassin (3.0.99pre3.1.0+rc1-1) experimental; urgency=low * New major upstream release: - More Bayes storage options -- SDBM, MySQL, PostgreSQL - Apache preforking algorithm; number of children scaled according to demand - New plugins: DomainKeys (off by default), MIMEHeader, ReplaceTags, WhiteListSubject - Razor2, DCC disabled by deafult because they are no longer free for non-personal use - AWL is now a plugin (Closes: #292610) - Includes sa-update which can be used to update rules between releases (currently must be manually invoked) * Bugs in BTS fixed upstream: - Stop checking for long descriptions (Closes: #274194) - No longer uses Storable (Closes: #293485) - Minor doc fixes (Closes: #276621, #290660) - Avoid unitialized value error in Reporter.pm (Closes: #290615) - Logging and error messages improved throughout (Closes: #318349) - SIGHUP now works when running with -u on a privileged port (Closes: #296682) - Avoid ALL_TRUSTED misfire when Received: parsing fails (Closes: #300809) - Fix __FROM_PHONE to be more permissive (Closes: #238613) - Avoid MSN Groups FPs (Closes: #290978) - Better handling of UTF-8 (Closes: #291093, #297899, #306496, #319014) - BAYES_* scores manually set (Closes: #292327) - local.cf has more comments (Closes: #271869) - sa-learn is quieter (Closes: #268035) - spamassassin --debug more verbose, displays files read (Closes: #276778) * No longer support the upgrade path for versions prior to sarge. Including: - Debconf questions about upgrading from 2.20-1woody and 2.4x - Explanation of the libdb problems caused by upgrades from perl 5.6 to 5.8 recent versions of spamassassin (not an issue with woody->testing) (Closes: #318360, #298372) - Downgrade spamassassin's Depends: on spamc to Recommends: (Closes: #316368) - Remove the woody build hack with debconf * Correct Suggest: on libnet-smtp-perl to libnet-perl (Closes: #317355) * Upgrade to Standards Version 3.6.2.0 (by incrementing the number in debian/control) * Updated the way debian/rules uses dpatch to be the "new way". (i.e. calls dpatch directly) * No longer use debconf *at all*. As soon as I find questions worth asking, we'll go back. -- Duncan Findlay Fri, 19 Aug 2005 02:22:22 -0400 spamassassin (3.0.4-2) unstable; urgency=high * Added Russian debconf translation from Yuriy Talakan (Closes: #311920) -- Duncan Findlay Wed, 8 Jun 2005 00:53:18 -0400 spamassassin (3.0.4-1) unstable; urgency=high * New upstream release - Fixed parsing to not rely on MIME boundary (Closes: #307526, #281756) - Improfed FORGED_YAHOO_RCVD to not FP (Closes: #310958) -- Duncan Findlay Tue, 7 Jun 2005 00:30:18 -0400 spamassassin (3.0.3-1) unstable; urgency=low * New upstream release (Closes: #307904) - Fixed possible memory bloat from large AutoWhitelist db files - Fixed where user defined rules scores became ignored (Closes: #291561) - Updated parsing code for several Received: header formats - Document plugin API for set/get tags (Closes: #299118) - More bug fixes * Added note about needing libnet-dns-perl to README.Debian (Closes: #293502) * Would like this to get to sarge, if all goes well. -- Duncan Findlay Fri, 29 Apr 2005 14:09:56 -0400 spamassassin (3.0.2-1) unstable; urgency=low * New upstream release (Closes: #284663, #286595) - Number of URLs now limited for URIDNSBL plugin (Closes: #279180) - Handles obscure exim Recieved: header format (Closes: #279504) * Updated logcheck messages (Closes: #281560) * Updated README.Debian to explain a bit more about configuring spamd as non-root and for sitewide bayes. (Closes: #271870, #273187) * Updated README.Debian to explain issues with performance and spamd (Closes: #279981) * Updated watch file to handle the apache.org layout better. (Closes: #281468) -- Duncan Findlay Sat, 1 Jan 2005 15:29:19 -0500 spamassassin (3.0.1-1) unstable; urgency=low * New upstream release - Fix problems with broken configs with spamd (Closes: #276366) - Fixes some memory consuming bugs (Closes: #275232, #222783) - Fixes file descriptior issue with pyzor or dccifd and amavis (Closes: #273290) * Conflict with packages broken with SpamAssassin 3.0.0 (Closes: #274993) * Create PIDFILE option in /etc/default/spamassassin so that init script works with spamd -u (Closes: #275370) * Note in /etc/default/spamassassin to use --max-children with no more than 5 due to preforking. (Closes: #275308) * Rewrote package dependencies in control, added Suggests: on dcc-client (Closes: #276729), versioned recommends on libnet-dns-perl (Closes: #274825) * Include procmailrc.example again (Closes: #276152) * Fix muttrc example to use --no-sync instead of --no-rebuild (Closes: #273670) * Fixed typo in README.Debian for spamassassin -- if /usr/share/spamassassin is edited you will NOT be prompted about it. (Closes: #275675) -- Duncan Findlay Wed, 27 Oct 2004 00:28:33 -0400 spamassassin (3.0.0-1) unstable; urgency=low * New upstream release * Features since 2.6x: - New license (Now Apache Software License 2.0) - Support for Sender Policy Framework (SPF) - Web links checked against SURBL and SBL (Closes: #265604) - Third party plug-in support - Optional SQL storage for Bayes and automatic-whitelist - More accurate MIME + HTML handling * Bugfixes (not yet documented here) - Document --home-helper-dir option in SYNOPSIS (Closes: #265887) - More documentation fixes: --user-config is on by default (Closes: #263845, #263846) - Doc: Typo "on" -> "or" (Closes: #271865) * Changed /etc/default/spamassassin to be more verbose (Closes: #265518) * Got rid of spamassassin-tools since it was more pain than it was worth. -- Duncan Findlay Sun, 5 Sep 2004 22:05:47 -0400 spamassassin (2.99pre3.0.0+rc2-2) experimental; urgency=low * sysv-rc has a bug in the man page: use "defaults XX YY" instead of "defaults NN-start NN-stop" as stated in the man. Filling bug... Well, is more complicated than that. See #268713 -- Jesus Climent Sat, 28 Aug 2004 17:28:44 +0000 spamassassin (2.99pre3.0.0+rc2-1) experimental; urgency=low * New upstream release candidate. * Upstream closed the following bugs: - sa-learn should have a long option for -f (Closes: #265888) - ignore X-Bogosity (Closes: #265899) -- Jesus Climent Sat, 28 Aug 2004 07:53:33 +0000 spamassassin (2.99pre3.0.0+rc1-1) experimental; urgency=low * New upstream release candidate. * init.d script starts at S19 and now stops at K21 (Closes: #267540). -- Jesus Climent Mon, 23 Aug 2004 09:47:47 +0000 spamassassin (2.99pre3.0.0+pre4-2) experimental; urgency=low * libdigest-sha1-perl is also a requirement for building the package. -- Jesus Climent Thu, 5 Aug 2004 22:28:55 +0300 spamassassin (2.99pre3.0.0+pre4-1) experimental; urgency=low * New upstream pre-release. * Man pages reorganized (Closes: #263481) -- Jesus Climent Thu, 5 Aug 2004 12:22:55 +0300 spamassassin (2.99pre3.0.0+pre2-1) experimental; urgency=low * New upstream pre-release. * debian/control - Added dependency on libdigest-sha1-perl -- Jesus Climent Sat, 10 Jul 2004 21:03:28 -0300 spamassassin (2.99pre3.0.0+pre1-2) experimental; urgency=low * Fix bad upload (bad changelog, stupid svn-buildpackage...) -- Duncan Findlay Sun, 20 Jun 2004 23:17:45 -0400 spamassassin (2.99pre3.0.0+pre1-1) experimental; urgency=low * New upstream release -- Duncan Findlay Thu, 17 Jun 2004 00:50:06 -0400 spamassassin (2.99pre3.0.0svn20040616-1) experimental; urgency=low * New upstream release * Includes preliminary scores (not great, but better) * Created spamassassin-tools package, containing stuff to make your own rules. * Added logcheck violations.ignore.d file for "result:" lines (Closes: #252375) * Changed logcheck for processing messages to allow unknown message ids (Closes: #252406) * Added german debconf translation from Helge Kreutzmann (Closes: #253589) -- Duncan Findlay Thu, 17 Jun 2004 00:20:08 -0400 spamassassin (2.99pre3.0.0svn20040529-2) experimental; urgency=low * Added logcheck entry for lines like: spamd[19233]: result Y 997 GTUBE..... -- Duncan Findlay Sat, 29 May 2004 21:50:44 -0400 spamassassin (2.99pre3.0.0svn20040529-1) experimental; urgency=low * New upstream release * Added italian debconf translation from Luca Monducci (Closes: #251279) * Fix /etc/init.d/spamassassin to actually exit when ENABLED=0. (Closes: #251481, #251598) -- Duncan Findlay Sat, 29 May 2004 21:18:01 -0400 spamassassin (2.99pre3.0.0svn20040525-1) experimental; urgency=low * New upstream release Many many changes... API changed drastically, new plugin interface and plugins (Like SURBL (Closes: #243546)), LDAP + SQL config (Closes: #242121, #177012), ident authentication for spamd (Closes: #242148), New license (ASL 2.0), ... Bug Fixes: Fix handling of empty User: line (Closes: #225139) Handle out of diskspace in Bayes (Closes: #202422) Fix how spamc handles bad hostnames (Closes: #214008) Fix sa-learn on filenames with spaces (Closes: #218004) Fixed which IPs to lookup in DNSBLs (Closes: #227828) _STARS_ works in Subject line (Closes: #239979) Make --lint catch misspeld scores (Closes: #214880) Allow combining of spamassassin -d and -t (Closes: #192779) Removed -w option from spamassassin (Closes: #216255) Remove -P from spamassassin manpage (Closes: #234584) FAKED_HOTMAIL_DAV removed (Closes: #233600) Fix BUGGY_CGI to allow NMS FormMail (Closes: #209377) Split ok_languages zh into zh.gb2312, zh.big5 (Closes: #224116) Put all error output on one fd for spamc (Closes: #197879) man Mail::SpamAssassin::Conf clearer about raw headers (Closes: #236431) * Converted packaging to use dpatch in order to allow for easier creation of SVN packages (Because Daniel Quinlan has been bugging me to do figure out a better system!) * Improved debian specific rules in 65_debian.cf (Closes: #237995, #240983) * Changed dependencies for 3.0.0. Now suggest pyzor (Closes: #242456) * Fixed logcheck files for whitespace (Closes: #243820) * Changed /etc/init.d/spamassassin to warn when disabled (Closes: #247058) * Changed /etc/default/spamassassin to not say "/etc/default/spamd.conf" (Closes: #243431) * Include Danish debconf translation from Claus Hindsgaul (Closes: #233072) * Added courier integration example (from Charles Fry + Jeronimo Pellegrini) (Closes: #229393) -- Duncan Findlay Sun, 23 May 2004 23:51:34 -0400 spamassassin (2.63-1) unstable; urgency=low * New upstream release (Closes: #228366) * Fixed logcheck file for users with hyphens (Closes: #226316) -- Duncan Findlay Wed, 21 Jan 2004 00:03:16 -0500 spamassassin (2.61-2) unstable; urgency=low * Improve copyright file in response to mail from Peter Palfrader to debian-devel-announce * Drop versioned libhtml-parser-perl -- it was incorrect. (Closes: #224933) * Added patch from Colin Watson / Marc Haber to ease backports. (Closes: #224237) * Added patch from Francesco Potorti to allow setting of spamd's nice level (Closes: #224369) -- Duncan Findlay Sun, 28 Dec 2003 16:46:53 -0500 spamassassin (2.61-1) unstable; urgency=low * The "We really don't need lame release names" release * New upstream release (Closes: #224088) Messages that hit BAYES_99 will not be autolearned as ham (Closes: #217528) Microsoft related forgery issues should be fixed (Closes: #198106, #188480) Remove gnus notation in Bayes.pm (Closes: #211741) * New/updated translations: nl Luk Claes (Closes: #217248) pt_BR Andre Luis Lopes (Closes: #220904) es Carlos Valdivia (Closes: #220927) * Move sample-spam.txt and sample-nonspam.txt to examples/ (Closes: #223032) -- Duncan Findlay Mon, 15 Dec 2003 20:49:35 -0500 spamassassin (2.60-2) unstable; urgency=low * The "Where is Duncan?" release ;) * Small FRIEND_AT_PUBLIC change (Closes: #212722) * README modified to reflect the actual status of Razor2 (Closes: #212799) * Versioned dependency on libhtml-parser-perl (Closes: #214019) * Modified postinst to avoid critical session (Closes: #213023) -- Jesus Climent Thu, 23 Oct 2003 13:10:29 +0000 spamassassin (2.60-1) unstable; urgency=low * New upstream release Fixes blacklist problems caused by verisign (Closes: #211233, #211157) * Many fixes since previous testing/unstable release, see below. -- Duncan Findlay Tue, 23 Sep 2003 14:57:02 -0400 spamassassin (2.59pre2.60rc5-1) experimental; urgency=low * New upstream release -- Duncan Findlay Tue, 16 Sep 2003 10:48:16 -0400 spamassassin (2.59pre2.60rc4-1) experimental; urgency=low * New upstream release * Enabled SSL in spamc (Closes: #194701) * Kenshi Muto's Japanese debconf translations installed. (Closes: #210722) -- Duncan Findlay Sat, 13 Sep 2003 15:07:22 -0400 spamassassin (2.59pre2.60rc3-1) experimental; urgency=low * New upstream release (candidate) includes: Numerous rule improvements and bug fixes. GA-assigned scores (previous cvs packages did not). New Bayes backend with different DB format (automatic upgrade). dccifd support added. Better support for personal installation (Closes: #199217) Dropped support for database formats other than DB_File (which most should already be using). (See README.Upgrade) * Works around symlinks being left behind in /etc/logcheck on upgrade. (Closes: #201324) * Added symlink from /etc/mail/spamassassin to /etc/spamassassin (Closes: #207233, #207234) -- Duncan Findlay Thu, 28 Aug 2003 20:59:24 -0400 spamassassin (2.59pre2.60pre3-1) experimental; urgency=low * New upstream pre-release, before mass-check verification. Use at your own risk. * This version solves: + French typo (Closes: #200468) * Added README.postfix which explains how to integrate spamassassin with postfix for incoming tagging. * Spamd supports unix sockets (Closes: #204853) -- Jesus Climent Thu, 7 Aug 2003 22:39:30 +0000 spamassassin (2.59pre2.60cvs20030619-1) experimental; urgency=low * Pre-release 2.60 packages. Use at own risk! :-) (Hence, experimental) * Also experimental since the scores in this release are very sub-optimal. You will probably want to use a higher threshold, as all the negative scoring tests have been removed. * This upload is to facilitate the transition of maintenance (temporarily) to Jesus Climent (Added to the Uploaders: field) * New upstream version includes: Better rules to thwart new spam tactics (Closes: #192953) Fix some bugs relating to autolearning (Closes: #191371) Fix problem with reloading and syslog-ng (Closes: #191837) More verbose error from spamassassin -r (Closes: #192133, #197881) Improved configurability of headers (Closes: #178648, #193872) Able to add charset to safe reports (Closes: #183810) * Added a few more "default" options to spamd in /etc/default/spamassassin * Fixed spamc's manpage to refer to spamd(8) not spamd(1) (Closes: #197880) * Added doc on integrating spamassassin sitewide with Exim3 from John Girash (Closes: #196706) * Added example configuration for gnus from Andreas Kneib (Closes: #196557) * Noted the perl5.6->perl5.8 upgrade bug in README.Debian -- Duncan Findlay Thu, 19 Jun 2003 21:02:34 -0400 spamassassin (2.55-2) unstable; urgency=medium * Really fix warnings in spamassassin.config (D'oh!) (Closes: #194989, #195076, #195076, #195335) * Set TMPDIR in init script (Closes: #195290) * urgency=medium because 2.55-1 is 9 days old, and testing deserves 2.55 soon, and these changes are fairly simple * Updated french debconf templates (Closes: #195011) -- Duncan Findlay Fri, 30 May 2003 23:57:06 -0400 spamassassin (2.55-1) unstable; urgency=low * New upstream release * Fix warning in spamassassin.config (Closes: #193770) -- Duncan Findlay Tue, 20 May 2003 17:53:18 -0400 spamassassin (2.54-3) unstable; urgency=low * Handle the possibility of debconf not being installed when spamassassin.preinst is run. (Why didn't lintian catch this?) -- Duncan Findlay Sat, 17 May 2003 18:38:58 -0400 spamassassin (2.54-2) unstable; urgency=low * Improves debconf handling of upgrade from previous versions (like woody). (Closes: #191872, #192721) * Rewritten spamassassin.config in perl * This no longer bends over backwards to fix stuff I broke in 2.11 (which was never in a stable release, and is over a year old) -- Duncan Findlay Wed, 14 May 2003 18:39:53 -0400 spamassassin (2.54-1) unstable; urgency=low * New upstream release Include improved Bayes documentation (Closes: #185221) Updates documentation in USAGE.gz (Closes: #185763) Better scores (Closes: #191280) Added rule TOO_MANY_MUA (Closes: #190380) Fixed pyzor reporting (Closes: #184574) * Tightened up logcheck messages, for use in /etc/logcheck/ignore.d.paranoid (Closes: #187742) * Applied patch from Andre Luis Lopes to fix pt_BR tranlations. (Closes: #187745) * Added french debconf translation (From Christian Perrier ) (Closes: #190113) * Added automatic call to debconf-updatepo in debian/rules * Added example .muttrc snippet (Closes: #192713) -- Duncan Findlay Wed, 14 May 2003 00:24:42 -0400 spamassassin (2.53-1) unstable; urgency=low * New upstream release (Closes: #185887) Fixes false positives in SUBJ_ALL_CAPS from KOI8 mail (Closes: #168682) Fixes problems with --syslog-socket=none (Closes: #179925) Fixes --nouser-config (Closes: #164284) base64 and utf-8 no longer penalized (Closes: #165393) spamd now does setgid in addition to setuid (Closes: #182869) sa-learn docs explain ham as non-spam (Closes: #183286) Fixes some Bayes corruption * Fixes logcheck format. (Closes: #182838) * Added -m option by default. (Closes: #183323) * Added po-debconf support (Patch from Andre Luis Lopes ) (Closes: #184126) * Added a debian/watch file for uscan -- Duncan Findlay Thu, 3 Apr 2003 19:23:43 -0500 spamassassin (2.50-1) unstable; urgency=low * New upstream release: (Closes: #181836) Bayesian learner component Better scores (Closes: #177317) New (and improved!) report format Bugfixes! Closes: #179641, #166567, #180115, #180117, #164367, #161067, #165428, #165731, #170881, #154812, #163179, #164960, #161696, #163297, #163328 * Added rules/STATISTICS.txt to /usr/share/doc/spamassassin (Closes: #179799) -- Duncan Findlay Wed, 26 Feb 2003 22:58:58 -0500 spamassassin (2.44-1) unstable; urgency=low * New upstream release (mainly bugfixes) (Closes: #160206) * Acknowledge NMU (Closes: #178936) * Bumped priority of debconf question to high (Closes: #167451, #167452, #169751 * Removed dependency on libnet-smtp-server-perl (Closes: #175129) * Fixed debian/rules CFLAGS with patch from (Closes: #176659) * Fix lintian warning: "W: spamassassin: init-script-suggests-versioned-depends postinst" -- Duncan Findlay Fri, 31 Jan 2003 19:19:25 -0500 spamassassin (2.43-1.1) unstable; urgency=high * Non-maintainer upload at maintainer request * Apply patch for overflow as reported to BUGTRAQ "SpamAssassin / spamc+BSMTP remote buffer overflow" (spamd/libspamc.c) * Depending on how spamc is built, this may or may not be exploitable -- Matt Zimmerman Wed, 29 Jan 2003 11:08:12 -0500 spamassassin (2.43-1) unstable; urgency=low * New upstream release * The -m option is no longer recommended. It is buggy. -- Duncan Findlay Tue, 15 Oct 2002 23:18:01 -0400 spamassassin (2.42-1) unstable; urgency=low * New upstream release (Closes: #160309, #160901, #162013, #159704, #163143, #156263) Various AWL fixes -m fixed (better) Various misc bug fixes. * Added SENT_BY_AFBACKUP and SENT_BY_APTLC to 65_debian.cf (Closes: #155527, #155634) * Added --oknodo's in /etc/init.d/spamassassin (Closes: #161981) -- Duncan Findlay Fri, 4 Oct 2002 18:18:10 -0400 spamassassin (2.41-2) unstable; urgency=low * Applies perl-5.8 / -m patch for spamd. (Closes: #159826, #159038, #159984) * Adds debconf note for removal of spamproxyd (Closes: #159930) -- Duncan Findlay Sat, 7 Sep 2002 11:23:40 -0400 spamassassin (2.41-1) unstable; urgency=low * New upstream release -- Duncan Findlay Thu, 5 Sep 2002 18:07:13 -0400 spamassassin (2.40-1) unstable; urgency=low * New upstream release: Spamproxyd removed -- WILL BREAK CONFIGS -- sorry! (Closes: #156938) Spamassassin will no longer deliver mail, only filter (-P flag by default/can't negate) all_spam_to improved to be smarter (Closes: #151320) config option to avoid checking dns before use (Closes: #153245) * Init script will not fail on stop if spamd not running (Closes: #158913) * Logcheck files fixed (symlinks removed, messages updated) (Closes: #146221, #155295) * "N16" fix applied. (Will be in upstream 2.41) * Added link to dman's exim integration stuff in README.Debian (Closes: #151526) -- Duncan Findlay Tue, 3 Sep 2002 01:47:17 -0400 spamassassin (2.31-2) unstable; urgency=low * Changed Recommends: spamc to Depends: spamc -- Duncan Findlay Tue, 25 Jun 2002 13:38:15 -0400 spamassassin (2.31-1) unstable; urgency=low * New upstream release -- Duncan Findlay Thu, 20 Jun 2002 23:09:42 -0400 spamassassin (2.30-2) unstable; urgency=low * Changed init script to use /var/run/spamd.pid * Fixed logcheck file to match setuid succeeded messages * Split spamc into a separate package. Let the bug reports begin! (Closes: #137140) -- Duncan Findlay Mon, 17 Jun 2002 14:49:38 -0400 spamassassin (2.30-1) unstable; urgency=low * New upstream release (Closes: #140300, #147625, #144482, #143316, #146588, #13977) * Added debconf e-mails to whitelist (Closes: #147465) * Added depends on libtime-hires-perl * Moved to section mail (interpreters doesn't make sense - spamassassin isn't just a perl module) * Removed README.Upgrade. I doubt anyone still uses 1.15 -- Duncan Findlay Sat, 15 Jun 2002 01:24:15 -0400 spamassassin (2.20-2) unstable; urgency=low * Added depends on libnet-smtp-server-perl (Closes: #145297). Depending on the outcome of bug 119517, this may be downgraded to a Recommends:. * Removed extra empty dir /usr/share/spamassassin (Closes: #145323) * Added recommends: for libmailtools-perl (Closes: #143935) -- Duncan Findlay Fri, 10 May 2002 20:37:08 -0400 spamassassin (2.20-1) unstable; urgency=medium * New upstream release. (Closess: #140300, #140910, #143324, #134669, #136329, #140422, #140910) * This fixes the "razor 1.20-1 bug" (143324) * New features. Yay! (including the -S (short-ciruit) flag for spamd) * Urgency=medium to beat razor 1.20-1 to woody. -- Duncan Findlay Sat, 20 Apr 2002 00:05:40 -0400 spamassassin (2.11-4) unstable; urgency=medium * "Fixes" configuration files "problem"/"bug." I'm really not happy with putting upstream rules and scores in /etc/spamassassin. But I guess I don't have a choice. Do I? (Closes: #141484) * Fixes pathes in Mail::SpamAssassin::Conf docs. (Closes: #141172) * Fixes "spelling" mistake in description. (Closes: #141512) -- Duncan Findlay Sun, 7 Apr 2002 22:02:29 -0400 spamassassin (2.11-3) unstable; urgency=low * Fixes, and undoes previous damage relating to the logcheck bug (Closes: #140773) -- Duncan Findlay Tue, 2 Apr 2002 17:57:17 -0500 spamassassin (2.11-2) unstable; urgency=low * Fixes the logcheck bug (Closes: #139201) * Set SUBJ_FULL_OF_8BITS to 0 (Closes: #140344) * Set RCVD_IN_ORBZ to 0 (Closes: #139204) -- Duncan Findlay Sat, 30 Mar 2002 14:48:22 -0500 spamassassin (2.11-1) unstable; urgency=medium * New upstream release (mainly saner scores) * Fixed description in user_prefs file to be less confusing (Closes: #136648) * urgency=medium since the last upload never quite got to testing -- Duncan Findlay Mon, 4 Mar 2002 19:23:08 -0500 spamassassin (2.10-1) unstable; urgency=medium * New upstream release Closes: #131442, #131317, #133026, #131438, #131193, #136047, #134660, #134557 * New features: _HITS_ and _REQD_ in subject_tag display number of hits/required hits, more tests, etc. * Fixed minor dependency thing (Closes: #131797) * Included logcheck files (Closes: #131161) * Actually added README.Upgrade (Closes: #131188) * Fixed some postrm to purge old files (from 1.5) * Added a line to /etc/init.d/spamassassin to clarify (stupid) misconceptions (Closes: #134566) * Moved manpages to their proper place (ie. .3perl and .8) * Included (fixed) check_whitelist in examples dir (Closes: #135383) * Put daemons in /usr/sbin (Closes: #135703) -- Duncan Findlay Sun, 17 Feb 2002 19:49:28 -0500 spamassassin (2.01-1) unstable; urgency=low * New upstream release (lots of new features!) Closes: #129738, #130260, #126461, #123630, #123886, #123889, #128415 * Added Debian specific config. (Closes: #126073) * Moved spamd to boot up earlier than exim (i.e. 19) (Closes: #131028) -- Duncan Findlay Sat, 26 Jan 2002 17:24:05 -0500 spamassassin (1.5-5) unstable; urgency=low * Fixed postinst (Closes: #123954) * Fixed typo in init. (I really need to learn to spel!) (Closes: #124077) * Fixed the dpkg dependency to 1.8.1 (Closes: #123320 again!) * Disables foreign character set tests by default (bug 126073, but still have to deal with other half) -- Duncan Findlay Sat, 22 Dec 2001 16:28:56 -0500 spamassassin (1.5-4) unstable; urgency=low * Fixed my (ahem...) little typo (that caused spamassassin to not work at all) (Closes: #123721) * Moved /etc/default/spamd.conf to /etc/default/spamassassin (Closes: #123722) * Fixed hang bug in spamassassin.cf (VERY_SUSP_RECIPS and VERY_SUSP_CC_RECIPS) -- Duncan Findlay Wed, 12 Dec 2001 21:09:21 -0500 spamassassin (1.5-3) unstable; urgency=low * Changed the regexp for SUBJ_HAS_UNIQ_ID so it doesn't get triggered on stuff like "Subject: Broken: tar -zxvf" (Closes: #123196) * Moved /usr/share/perl5/spamassassin.cf and .prefs to /usr/share/spamassassin/ (Closes: #123475) * Fixed "name" in init script to spamd (not spamassassin) like it was in 1.5-1 (Closes: #123545) * Fixed -e option. (Closes: #123551) * Added Depends on dpkg >= 1.9.0 (I still don't know what version it should be. (Closes: #123320 (again!) * Got rid of the Conflicts and Replaces on libmail-spamassassin-perl. I figure everyone has upgraded by now, or can figure it out! * Got rid of explicit razor depends, now just librazor-perl -- Duncan Findlay Tue, 11 Dec 2001 20:14:07 -0500 spamassassin (1.5-2) unstable; urgency=low * Added Build-Depends for ia64 (bind-dev) (Closes some bug yet to be filed) * Clarfied README.Debian (Closes: #123194, #123240) * Fixed word_in_dictionary bug * Added warning to spamd users using an old version of dpkg (Closes: #123320) * Added mass-check to examples (for bug 123290) -- Duncan Findlay Mon, 10 Dec 2001 11:37:57 -0500 spamassassin (1.5-1) unstable; urgency=low * Initial Release. (Closes: #120975) -- Duncan Findlay Fri, 7 Dec 2001 20:54:03 -0500 debian/spamc.docs0000664000000000000000000000012512277606423011154 0ustar CREDITS README TRADEMARK USAGE sample-nonspam.txt sample-spam.txt procmailrc.example debian/spamc.manpages0000664000000000000000000000002312277606423012014 0ustar blib/man1/spamc.1p debian/spamassassin.preinst0000664000000000000000000000235112277606423013315 0ustar #!/bin/sh set -e # Adapted from http://wiki.debian.org/DpkgConffileHandling # spamassassin no longer distributes logcheck files for spamd. # Luckily, the logcheck-database package which distributes these files # now doesn't reuse the same file names. This script now deletes old # (unchanged) versions of the file, but leaves and warns about changed # versions. # Remove a no-longer used conffile rm_conffile() { PKGNAME="$1" CONFFILE="$2" if [ -e "$CONFFILE" ]; then md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" if [ "$md5sum" != "$old_md5sum" ]; then echo "Obsolete conffile $CONFFILE has been modified by you." echo "Leaving $CONFFILE in place; you may wish to remove it." else echo "Removing obsolete conffile $CONFFILE ..." rm -f "$CONFFILE" fi fi } case "$1" in install|upgrade) if dpkg --compare-versions "$2" le "3.2.3-1"; then rm_conffile spamassassin "/etc/logcheck/ignore.d.paranoid/spamassassin" rm_conffile spamassassin "/etc/logcheck/violations.ignore.d/spamassassin" fi esac #DEBHELPER# debian/spamassassin.triggers0000664000000000000000000000003412277606423013453 0ustar interest perl-major-upgrade debian/spamassassin.links0000664000000000000000000000004712277606423012751 0ustar etc/spamassassin etc/mail/spamassassin debian/sa-update.postrm0000664000000000000000000000040112277606423012325 0ustar #!/bin/sh set -e #DEBHELPER# if [ "$1" = "remove" ]; then # Remove the compiled rules and restart spamd to complete unloading of # Mail::SpamAssassin::Plugin::Rule2XSBody rm -Rf /var/lib/spamassassin/compiled invoke-rc.d spamassassin restart fi debian/spamassassin.README.Debian0000664000000000000000000001356612277606423013761 0ustar READ "UPGRADE" IF YOU ARE UPGRADING FROM A PREVIOUS VERSION Cron job -------- There is a cron job in /etc/cron.daily/spamassassin that will automatically run sa-update and reload spamd every day if it is enabled. To enable this script, edit /etc/default/spamassassin. sa-update, when run as root, downloads the latest set of rules distributed by upstream to a directory under /var/lib/spamassassin. This script will work correctly with sa-compile (see below). sa-compile ---------- As of 3.3.2-8, sa-compile is now distributed in a separate package. If you wish to compile your spamassassin rules for improved efficiency and throughput, you can run sa-compile manually as "su debian-spamd -c sa-compile". If you have enabled the daily cron job (see above), then sa-compile will be automatically run whenever new rule updates are installed. Please see the sa-compile man page and Mail::SpamAssassin::Plugin::Rule2XSBody perldoc for more details. Trusted Networks ---------------- SpamAssassin has a built in guessing algorithm to determine which Received headers in a message are trustworthy and which are not. You should ensure that the configuration option trusted_networks and internal_networks are set correctly, especially if you are experiencing false positives from tests referring to Received headers. Please read man Mail::SpamAssassin::Conf for more information on this. Plugins ------- As of version 3.1.0, much of the functionality in SpamAssassin relating to external programs and perl modules has been removed and placed in plugins. For example, Razor, DCC and Pyzor have been "pluginized". Plugins can be enabled and disabled in /etc/spamassassin/init.pre and /etc/spamassassin/v310.pre. You may wish to read through those files to see which plugins you might want to install. In general, plugins may have dependencies that you may need to install for them to function. For example, the Razor2 plugin requires that you install razor. You should read the manpage before enabling a plugin. Please note that DCC is disabled by default as it is not free. Configuring spamd ----------------- spamd, the daemonized form of spamassassin, is generally the preferred way of running spamassassin. Please read man spamd and README.spamd for more information. Init scripts are provided with this package in /etc/init.d/spamassassin. To change the command line options, please edit /etc/default/spamassassin. If you intend to use Bayes sitewide, it is recommended that you set up an SQL-based Bayes storage module. (You may also want to store scores and other prefences in SQL too.) Please read the documentation in /usr/share/doc/spamassassin/sql/ for more information. Please note that SQL storage is not very private -- anyone that has access to the database can read and write it freely, meaning users could corrupt other users' Bayes databases. Please note that the --auth-ident option does not work with pidentd or gidentd. See http://bugs.debian.org/278030 for more information. Poor Performance ---------------- If you experience poor performance with spamd, please ensure that you have not set the --max-children option too high. spamd now uses a "Apache httpd style scaling" algorithm to prefork children, so these children will always be present. Please note also that there seems to be a bug with respect to how memory usage is reported by the kernel to programs such as top. Multiple spamd children share much more memory than is indicated. One common problem with spamd is that load spikes whenever the Bayes database needs to be sync'd. This is especially true right after an upgrade. It's often a good idea to do this manually right after you upgrade with the command: sa-learn --sync for each user/Bayes DB. (You can use the --dbpath option to specify the database path) You can also disable automatic expiry by setting the "bayes_auto_expire 0" option in your configuration and running sa-learn --force-expire from a cronjob. See http://wiki.spamassassin.org/BayesForceExpire Mail stream integration ----------------------- There is also a very incomplete set of examples in the examples/ directory. More examples are welcome! Please file a bug against spamassassin with the minor or wishlist severity and attach a file or patch. There is a large amount of information on setting spamassassin up with your mail system at http://wiki.apache.org/spamassassin/UsingSpamAssassin. Configuration Files ------------------- To add rules, change scores or edit the report template, edit /etc/spamassassin/local.cf. Please don't touch the files in /usr/share/spamassassin, as you will NOT be prompted to overwrite them on upgrade. Configuration file details are available in the Mail::SpamAssassin::Conf(3) man page. User-specific configuration is the automatically created ~/.spamassassin/user_prefs, which is copied from /etc/spamassassin/user_prefs.template. It is automatically created whenever spamassassin is called, or when spamc is used with 'spamd -c'. Semi-free RBLs -------------- The spamhaus SURBL blacklists are both offer free service to relatively small mail systems (less than approximately 1,000 mailboxes or 250,000 emails per day). Larger systems require a paid service. These blacklists are enabled by default in this package, but should be disabled if you run a large system and do not pay for these services. Non-free RBLs ------------- By default, spamassassin checks certain free RBLs. Other, commercial RBLs can easily be enabled. See the README for more information. Furthermore, SpamAssassin supports using third-party programs Razor, DCC and Pyzor, but Razor and DCC are disabled by default since they are not free for non-personal use. Feel free to enable them in /etc/spamassassin/init.pre IPv6 ---- Some users have reported difficulty running spamd with an IPv6 listening address. As a work around, please ensure you have libio-socket-inet6-perl installed. -- Duncan Findlay , Mon, 21 May 2007 23:53:57 -0400 debian/spamassassin.docs0000664000000000000000000000017212277606423012560 0ustar CREDITS README TRADEMARK UPGRADE USAGE NOTICE #ldap/README rules/STATISTICS*.txt #spamd/README spamd/README.vpopmail sql/ debian/spamassassin.postinst0000664000000000000000000000211712277606423013514 0ustar #!/bin/sh set -e if [ "$1" = "configure" ]; then # If a new install, or an upgrade from 3.3.2-2 or earlier... if ! getent passwd debian-spamd > /dev/null ; then adduser --system --group --shell /bin/sh --disabled-password \ --home /var/lib/spamassassin debian-spamd else mkdir -p /var/lib/spamassassin fi OWNER=$(stat -c '%U' /var/lib/spamassassin) GROUP=$(stat -c '%G' /var/lib/spamassassin) # Lets debian-spamd claim ownership of spamassassin updates on upgrades, # unless the user has overridden. if ! dpkg-statoverride --list /var/lib/spamassassin/* >/dev/null && \ [ "$OWNER:$GROUP" != "debian-spamd:debian-spamd" ]; then chown -R debian-spamd:debian-spamd /var/lib/spamassassin OWNER=debian-spamd GROUP=debian-spamd fi test -d /var/lib/spamassassin/sa-update-keys || \ install -d -o $OWNER -g $GROUP -m 700 /var/lib/spamassassin/sa-update-keys su - $OWNER -c "sa-update --gpghomedir /var/lib/spamassassin/sa-update-keys \ --import /usr/share/spamassassin/GPG.KEY" fi #DEBHELPER# debian/control0000664000000000000000000000552212303400156010571 0ustar Source: spamassassin Section: mail Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Noah Meyerhans Build-Depends: debhelper (>= 7), perl, libssl-dev, libhtml-parser-perl (>= 3.24), libnet-dns-perl (>= 0.34), libnetaddr-ip-perl, hardening-wrapper Standards-Version: 3.9.5 Homepage: http://www.spamassassin.org/ Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/spamassassin/trunk Vcs-Browser: http://svn.debian.org/viewsvn/collab-maint/deb-maint/spamassassin/trunk/ XS-Testsuite: autopkgtest Package: spamassassin Architecture: all Conflicts: spamass-milter (<< 0.2.0-7), gotmail (<= 0.8.1-1) Depends: perl (>= 5.8.0), libhtml-parser-perl (>= 3.43), libsocket6-perl, libsys-hostname-long-perl, libarchive-tar-perl, libwww-perl, libnet-dns-perl (>= 0.34), libnetaddr-ip-perl, perl-modules (>= 5.10) | libio-zlib-perl (>= 1.04), adduser, libwww-perl | curl | w3m, ${misc:Depends} Recommends: spamc (>= 2.30), sa-compile, libmail-spf-perl, libsys-syslog-perl, gnupg, libio-socket-inet6-perl Suggests: razor (>= 2.361-2), libio-socket-ssl-perl, libdbi-perl, pyzor, libcompress-zlib-perl, libmail-dkim-perl Provides: libmail-spamassassin-perl Description: Perl-based spam filter using text analysis SpamAssassin is a very powerful and fully configurable spam filter with numerous features including automatic white-listing, RBL testing, Bayesian analysis, header and body text analysis. It is designed to be called from a user's .procmail or .forward file, but can also be integrated into a Mail Transport Agent (MTA). . Included in this package is a daemonized form of spamassassin (spamd) which communicates with its client (spamc) via TCP, to reduce the overhead of loading perl with each message. To take advantage of this, you must install the spamc package. Package: spamc Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: spamassassin Conflicts: spamassassin (<< 2.30-2) Description: Client for SpamAssassin spam filtering daemon spamc is the client to communicate with spamd, the daemonized form of SpamAssassin (see the spamassassin package). It is written in C for maximum speed and minimum loading overhead. . spamc is quite useful for integrating spamassassin into an MTA or into a .procmailrc file because of its speed. . This package is useless unless you have spamassassin installed, either on this machine or another local machine (i.e. a mail server). Package: sa-compile Architecture: all Enhances: spamassassin Depends: spamassassin (>= 3.3.2-8), re2c, gcc, libc6-dev, make, ${misc:Depends} Conflicts: spamassassin (<= 3.3.2-7) Description: Tools for compiling SpamAssassin rules into C sa-compile uses "re2c" to compile the site-wide parts of the SpamAssassin ruleset into C code for more efficient processing by spamd or spamassassin. debian/source/0000775000000000000000000000000012277606423010501 5ustar debian/source/format0000664000000000000000000000001412277606423011707 0ustar 3.0 (quilt) debian/sa-compile.pre0000664000000000000000000000016612277606423011745 0ustar # Rule2XSBody - speedup by compilation of ruleset to native code # loadplugin Mail::SpamAssassin::Plugin::Rule2XSBody debian/spamassassin.dirs0000664000000000000000000000027612277606423012576 0ustar etc etc/init.d etc/default etc/spamassassin etc/spamassassin/sa-update-hooks.d usr/share/doc/spamassassin usr/share/doc/spamassassin/rules usr/share/spamassassin usr/share/man/man8 usr/sbin debian/examples/0000775000000000000000000000000012277606423011017 5ustar debian/examples/gnus0000664000000000000000000000040112277606423011711 0ustar ;; F10 pipe the message as spam (global-set-key [(f10)] '(lambda () (interactive) (shell-command "sa-learn --spam --single "))) ;; F9 pipe the message as ham (global-set-key [(f9)] '(lambda () (interactive) (shell-command "sa-learn --ham --single "))) debian/examples/filter.sh0000664000000000000000000000113012277606423012633 0ustar #!/bin/sh # # filter.sh # # Simple filter to plug Anomy Sanitizer and SpamAssassin # into the Postfix MTA # # From http://advosys.ca/papers/postfix-filtering.html # Advosys Consulting Inc., Ottawa # Modified by Jesus Climent # # For use with: # Postfix 20010228 or later # SpamAssassin 2.42 or later # # Note: Modify the file locations to match your particular # server and installation of SpamAssassin. # File locations: # (CHANGE AS REQUIRED TO MATCH YOUR SERVER) SENDMAIL=/usr/sbin/sendmail SPAMASSASSIN=/usr/bin/spamc /bin/cat | ${SPAMASSASSIN} -f | ${SENDMAIL} -i "$@" exit $? debian/examples/courier0000664000000000000000000000141212277606423012410 0ustar Some notes on how to integrate spamassassin with courier -------------------------------------------------------- Contributed by: Charles Fry Jeronimo Pellegrini 1) In /etc/courier/courierd set: DEFAULTDELIVERY="| /usr/bin/maildrop" 2) In /etc/courier/maildroprc add the line: xfilter "/usr/bin/spamassassin" or xfilter "/usr/bin/spamc" OR, for a more detailed setup add the following lines. Note that this only checks mails less than 250k in size and sends spam to a .spam/ folder. (spamc by default only scans messages that are 250k in size, so you can get away without using the size check.) if ($SIZE lt 250000) { xfilter "/usr/bin/spamc -f" } if (/^X-Spam-Flag: YES/:h || /^X-Spam-Status: Yes/:h) { to .spam/ } debian/examples/muttrc0000664000000000000000000000047512277606423012266 0ustar # Add this to your ~/.muttrc to integrate spamassassin and mutt # spamassassin report and classify as spam macro index S "|/usr/bin/spamassassin -r" # spamassassin classify as ham macro index H "|/usr/bin/sa-learn --ham --no-sync" # rebuild the spamassassin bayes filter db macro index R "!/usr/bin/sa-learn --sync" debian/compat0000664000000000000000000000000212277606423010377 0ustar 7 debian/spamassassin.init0000664000000000000000000000364612277606423012604 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: spamassassin # Required-Start: $remote_fs # Required-Stop: $remote_fs # Should-Start: $network $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 ### END INIT INFO # Spamd init script # June 2002 # Duncan Findlay # Based on skeleton by Miquel van Smoorenburg and Ian Murdock PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/spamd NAME=spamd SNAME=spamassassin DESC="SpamAssassin Mail Filter Daemon" PIDFILE="/var/run/$NAME.pid" XNAME=/usr/bin/perl export TMPDIR=/tmp # Apparently people have trouble if this isn't explicitly set... # Defaults - don't touch, edit /etc/default/spamassassin ENABLED=0 OPTIONS="" NICE= . /lib/lsb/init-functions test -f /etc/default/spamassassin && . /etc/default/spamassassin DOPTIONS="-d --pidfile=$PIDFILE" check_enabled() { if [ "$ENABLED" = "0" ]; then echo "$DESC: disabled, see /etc/default/spamassassin" exit 0 fi } test -f $DAEMON || exit 0 set -e case "$1" in start) check_enabled echo -n "Starting $DESC: " start-stop-daemon --start --pidfile $PIDFILE --exec $XNAME \ $NICE --oknodo --startas $DAEMON -- $OPTIONS $DOPTIONS echo "$NAME." ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop --pidfile $PIDFILE --exec $XNAME --oknodo echo "$NAME." ;; reload|force-reload) check_enabled echo -n "Reloading $DESC: " start-stop-daemon --stop --pidfile $PIDFILE --signal HUP --exec $XNAME echo "$NAME." ;; restart) check_enabled echo -n "Restarting $DESC: " start-stop-daemon --stop --pidfile $PIDFILE --exec $XNAME \ --retry 5 --oknodo start-stop-daemon --start --pidfile $PIDFILE --exec $XNAME \ $NICE --oknodo --startas $DAEMON -- $OPTIONS $DOPTIONS echo "$NAME." ;; status) status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $? ;; *) N=/etc/init.d/$SNAME echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2 exit 1 ;; esac exit 0 debian/rules0000775000000000000000000001027512277606423010266 0ustar #!/usr/bin/make -f # SpamAssassin debian/rules # Duncan Findlay # Based on sample debian/rules by Joey Hess # And patches from various people (see changelog) #export DH_VERBOSE=1 # enable hardening-wrapper when building spamc export DEB_BUILD_HARDENING=1 # The architecture-dependent portion of this package can be built separately # (i.e. without building the rest). # Bad things could probably happen if we run this in parallel .NOTPARALLEL: CFLAGS=-g -O2 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif # For building both spamc and spamassassin configure: configure-stamp configure-stamp: dh_testdir perl Makefile.PL INSTALLDIRS=vendor \ DESTDIR=$(CURDIR)/debian/spamassassin \ CONFDIR=/etc/spamassassin \ ENABLE_SSL=yes < /dev/null touch configure-stamp build: build-indep build-arch install: install-indep install-arch binary: binary-indep binary-arch clean: clean1 clean1: dh_testdir dh_testroot rm -f build-indep-stamp build-arch-stamp configure-stamp [ ! -f Makefile ] || $(MAKE) veryclean rm -f spamd/spamc.1p sa-awl.1p sa-check_spamd.1p rm -Rf t/log/* rm -f debian/semantic.cache dh_clean #debian/po/templates.pot: debian/spamassassin.templates # -debconf-updatepo # Spamassassin ONLY build-indep: build-indep-stamp #build-indep-stamp: configure debian/po/templates.pot build-indep-stamp: configure dh_testdir $(MAKE) CFOPTIMIZE="$(CFLAGS)" CFCCFLAGS="" CFLIBS="" CFLDFLAGS="$(LDFLAGS)" pod2man sa-awl.raw sa-awl.1p pod2man sa-check_spamd.raw sa-check_spamd.1p touch build-arch-stamp touch build-indep-stamp install-indep: install-spamassassin # SpamAssassin install-spamassassin: build-indep dh_testdir dh_testroot dh_prep dh_installdirs -i $(MAKE) install DESTDIR=`pwd`/debian/spamassassin # Get rid of SPAMC stuff. rm debian/spamassassin/usr/bin/spamc debian/spamassassin/usr/share/man/man1/spamc.1p # ...and sa-compile rm debian/spamassassin/usr/bin/sa-compile debian/spamassassin/usr/share/man/man1/sa-compile.1p dh_install -psa-compile sa-compile /usr/bin install -o root -g root -m664 debian/sa-compile.pre debian/sa-compile/etc/spamassassin dh_installman -psa-compile # Move spamd to /usr/sbin + fix the man file sed 's#SPAMD 1#SPAMD 8#' \ debian/spamassassin/usr/share/man/man1/spamd.1p \ > debian/spamassassin/usr/share/man/man8/spamd.8p rm debian/spamassassin/usr/share/man/man1/spamd.1p mv debian/spamassassin/usr/bin/spamd debian/spamassassin/usr/sbin/ # Install Debian specific files cp debian/65_debian.cf debian/spamassassin/etc/spamassassin/65_debian.cf install -o root -g root -m644 debian/GPG.KEY debian/spamassassin/usr/share/spamassassin/GPG.KEY -rmdir -p debian/spamassassin/usr/lib/perl5 cp ldap/README debian/spamassassin/usr/share/doc/spamassassin/README.ldap cp spamd/README debian/spamassassin/usr/share/doc/spamassassin/README.spamd cp pkgrules/* debian/spamassassin/usr/share/spamassassin binary-indep: build-indep install-indep dh_testdir -i dh_testroot -i dh_installman -i sa-awl.1p sa-check_spamd.1p dh_installdocs -i dh_installexamples -i dh_installinit -i -- defaults 19 21 dh_installcron -i dh_installchangelogs Changes -i dh_link -i dh_compress -i -XGPG.KEY dh_fixperms -i dh_installdeb -i dh_perl -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i # spamc ONLY build-arch: build-arch-stamp #build-arch-stamp: configure debian/po/templates.pot build-arch-stamp: configure dh_testdir -mkdir -p blib/man1 $(MAKE) CFOPTIMIZE="$(CFLAGS)" CFCCFLAGS="" CFLIBS="" CFLDFLAGS="$(LDFLAGS)" spamc/spamc pod2man spamc/spamc.pod blib/man1/spamc.1p touch build-arch-stamp install-arch: DH_OPTIONS= install-arch: build-arch dh_testdir dh_testroot dh_prep dh_installdirs -a cp spamc/spamc debian/spamc/usr/bin/spamc binary-arch: build-arch install-arch dh_testdir -a dh_testroot -a dh_installdocs -a dh_installman -a dh_installchangelogs Changes -a dh_strip -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a .PHONY: build build-indep build-arch clean clean1 binary-indep binary-arch binary install configure install-indep install-indep-docs install-arch debian/sa-compile.manpages0000664000000000000000000000003012277606423012740 0ustar blib/man1/sa-compile.1p debian/copyright0000664000000000000000000000215012277606423011132 0ustar This package was debianized by Duncan Findlay on Sat, 24 Nov 2001 18:37:39 -0500. It was downloaded from http://www.spamassassin.org/ Upstream Authors: Justin Mason , Craig Hughes Daniel Quinlan Theo van Dinter and others Copyright 2000-2004 Justin Mason and others Copyright 2004-2008 Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. On Debian GNU/Linux systems, the complete text of the License can be found in /usr/share/common-licenses/Apache-2.0. You may also obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. debian/tests/0000775000000000000000000000000012303400132010316 5ustar debian/tests/spamassassin.spam0000664000000000000000000000044612277606423013736 0ustar #!/bin/bash #---------------------------- # Testing spamassassin nospam #---------------------------- set -e if python `dirname $0`/get_spam_points.py `dirname $0`/../../sample-spam.txt 2>&1; then echo "OK" exit 0 else echo "ERROR: POINTS SHOULD BE HIGHER THAN ZERO" exit 1 fi debian/tests/daemon0000664000000000000000000000064312277606423011534 0ustar #!/bin/bash #---------------------------- # Testing spamassassin daemon #---------------------------- set -e # modify /etc/default/spamassassin to enable the daemon CONFIG_FILE=/etc/default/spamassassin sed -i -e "s/ENABLED=0/ENABLED=1/g" $CONFIG_FILE /etc/init.d/spamassassin restart >/dev/null 2>&1 if pgrep spamd > /dev/null; then echo "OK" exit 0 else echo "ERROR: SPAMD IS NOT RUNNING" exit 1 fi debian/tests/spamassassin.nospam0000664000000000000000000000043512277606423014271 0ustar #!/bin/bash #---------------------------- # Testing spamassassin nospam #---------------------------- set -e if python `dirname $0`/get_spam_points.py `dirname $0`/../../sample-nonspam.txt 2>&1; then echo "OK" exit 0 else echo "ERROR: POINTS SHOULD BE ZERO" exit 1 fi debian/tests/control0000664000000000000000000000016312303400124011722 0ustar Tests: spamassassin.nospam spamassassin.spam daemon Depends: spamassassin, procps, python Restrictions: needs-root debian/tests/get_spam_points.py0000664000000000000000000000123612277606423014112 0ustar import sys import subprocess if __name__ == '__main__': try: file_name = sys.argv[1] # call spamassassin with the given file and return the points output = subprocess.check_output("spamassassin --test-mode < " + file_name, shell=True, stderr=subprocess.STDOUT) if output: lines = output.split('\n') if lines and lines[-4]: results = lines[-4].split(' ') if results and len(results)>0: points = results[0] print "%d" % round(float(points)) exit() print "0" except Exception as e: print "ERROR" debian/spamassassin.prerm0000664000000000000000000000051712277606423012760 0ustar #!/bin/sh set -e #DEBHELPER# # In theory sa-update-keys is probably a config file, but I don't # think it should be and I don't know how to get rid of it and # /etc/spamassassin without causing dpkg to complain on purge. if [ "$1" = "remove" ]; then rm -Rf /var/lib/spamassassin rm -Rf /etc/spamassassin/sa-update-keys fi debian/GPG.KEY0000664000000000000000000001125112277606423010170 0ustar This is the GPG key that updates are signed with (currently, as of Wed Dec 21 19:31:38 PST 2005. Please contact with any questions. -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.2 (SunOS) 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 aB8EKy5bg4U6 =IbYW -----END PGP PUBLIC KEY BLOCK----- debian/spamassassin.examples0000664000000000000000000000011012277606423013436 0ustar sample-spam.txt sample-nonspam.txt debian/examples/* procmailrc.example debian/spamc.README.Debian0000664000000000000000000000050712277606423012346 0ustar spamc has been separated from the spamassassin package to accommodate people who wish to install spamd on a server, and just run spamc from other computers. Unless you are using spamc to connect to a spamd server on the local network, it is strongly recommended that you install spamassassin. Duncan Findlay duncf@debian.org