You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by kh...@apache.org on 2010/01/26 23:57:22 UTC

svn commit: r903473 - in /spamassassin/trunk: ./ lib/ lib/Mail/ lib/Mail/SpamAssassin/ lib/Mail/SpamAssassin/BayesStore/ rulesrc/sandbox/khopesh/ spamd/

Author: khopesh
Date: Tue Jan 26 22:57:20 2010
New Revision: 903473

URL: http://svn.apache.org/viewvc?rev=903473&view=rev
Log:
incorporating tweaks (mostly spelling) from debian package, testing debian rules in masscheck

Added:
    spamassassin/trunk/rulesrc/sandbox/khopesh/65_debian.cf
Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore/PgSQL.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/Client.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgLearner.pm
    spamassassin/trunk/lib/Mail/SpamAssassin/Plugin.pm
    spamassassin/trunk/lib/spamassassin-run.pod
    spamassassin/trunk/sa-learn.raw
    spamassassin/trunk/spamd/spamd.raw

Modified: spamassassin/trunk/lib/Mail/SpamAssassin.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin.pm?rev=903473&r1=903472&r2=903473&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin.pm Tue Jan 26 22:57:20 2010
@@ -228,7 +228,7 @@
 =item force_ipv4
 
 If set to 1, DNS tests will not attempt to use IPv6. Use if the existing tests
-for IPv6 availablity produce incorrect results or crashes.
+for IPv6 availability produce incorrect results or crashes.
 
 =item require_rules
 

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore/PgSQL.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore/PgSQL.pm?rev=903473&r1=903472&r2=903473&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore/PgSQL.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/BayesStore/PgSQL.pm Tue Jan 26 22:57:20 2010
@@ -23,7 +23,7 @@
 
 =head1 DESCRIPTION
 
-This module implementes a PostgresSQL specific bayesian storage module.
+This module implementes a PostgreSQL specific bayesian storage module.
 
 It subclasses Mail::SpamAssassin::BayesStore::SQL and overrides any methods
 which makes SQL calls involving the token column.  Since PostgreSQL uses BYTEA

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Client.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Client.pm?rev=903473&r1=903472&r2=903473&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Client.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Client.pm Tue Jan 26 22:57:20 2010
@@ -472,7 +472,7 @@
 This method parses the initial response line/header from the server
 and returns its parts.
 
-We have this as a seperate method in case we ever decide to get fancy
+We have this as a separate method in case we ever decide to get fancy
 with the response line.
 
 =cut

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgLearner.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgLearner.pm?rev=903473&r1=903472&r2=903473&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgLearner.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgLearner.pm Tue Jan 26 22:57:20 2010
@@ -163,7 +163,7 @@
 
 =item $didlearn = $status->did_learn()
 
-Returns C<1> if the message was learned from or forgotten succesfully.
+Returns C<1> if the message was learned from or forgotten successfully.
 
 =cut
 

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin.pm?rev=903473&r1=903472&r2=903473&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin.pm Tue Jan 26 22:57:20 2010
@@ -676,7 +676,7 @@
 NOTE: This data structure has changed since it was originally introduced
 in version 3.0.0.  The values are no longer perl anonymous hashes, they
 are a single string containing the raw token value.  You can test for
-backwards compatability by checking to see if the value for a key is a
+backwards compatibility by checking to see if the value for a key is a
 reference to a perl HASH, for instance:
 
 if (ref($toksref->{$sometokenkey}) eq 'HASH') {...

Modified: spamassassin/trunk/lib/spamassassin-run.pod
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/spamassassin-run.pod?rev=903473&r1=903472&r2=903473&view=diff
==============================================================================
--- spamassassin/trunk/lib/spamassassin-run.pod (original)
+++ spamassassin/trunk/lib/spamassassin-run.pod Tue Jan 26 22:57:20 2010
@@ -208,7 +208,7 @@
 
 Do not use IPv6 for DNS tests. Normally, SpamAssassin will try to detect if
 IPv6 is available, using only IPv4 if it is not. Use if the existing tests
-for IPv6 availablity produce incorrect results or crashes.
+for IPv6 availability produce incorrect results or crashes.
 
 =item B<-L>, B<--local>
 

Added: spamassassin/trunk/rulesrc/sandbox/khopesh/65_debian.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/khopesh/65_debian.cf?rev=903473&view=auto
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/khopesh/65_debian.cf (added)
+++ spamassassin/trunk/rulesrc/sandbox/khopesh/65_debian.cf Tue Jan 26 22:57:20 2010
@@ -0,0 +1,41 @@
+# Imported from debian spamassassin 3.2.5-7 package
+# under assumed license compatibility and cooperation.
+# Flagged 'nopublish' until that is confirmed.
+
+
+# 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
+tflags	 D_SENT_BY_DEBCONF	nice nopublish
+
+body	 D_SENT_BY_AFBACKUP	/^\[Afbackup\]: Overall exit status:/
+#score	 D_SENT_BY_AFBACKUP	-5.0
+describe D_SENT_BY_AFBACKUP	Sent by Afbackup
+tflags	 D_SENT_BY_AFBACKUP	nice nopublish
+
+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
+tflags	 D_SENT_BY_APTLC	nice nopublish
+
+header	 __ANACRON_SUBJ		Subject =~ /^Anacron job '[a-z0-9_.-]+' on/i
+tflags	 __ANACRON_SUBJ		nice nopublish
+header   __ANACRON_FROM		From =~ /^Anacron/
+tflags	 __ANACRON_FROM		nice nopublish
+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
+tflags	 D_SENT_BY_ANACRON	nice nopublish
+
+
+header	 __CRON_FROM		From =~ /^Cron Daemon/
+tflags	 __CRON_FROM		nice nopublish
+header 	 __CRON_HEADER		X-Cron-Env =~ /./
+tflags	 __CRON_HEADER		nice nopublish
+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
+tflags	 D_SENT_BY_CRON 	nice nopublish

Modified: spamassassin/trunk/sa-learn.raw
URL: http://svn.apache.org/viewvc/spamassassin/trunk/sa-learn.raw?rev=903473&r1=903472&r2=903473&view=diff
==============================================================================
--- spamassassin/trunk/sa-learn.raw (original)
+++ spamassassin/trunk/sa-learn.raw Tue Jan 26 22:57:20 2010
@@ -612,7 +612,7 @@
  --spam                Learn messages as spam
  --forget              Forget a message
  --use-ignores         Use bayes_ignore_from and bayes_ignore_to
- --sync                Syncronize the database and the journal if needed
+ --sync                Synchronize the database and the journal if needed
  --force-expire        Force a database sync and expiry run
  --dbpath <path>       Allows commandline override (in bayes_path form)
                        for where to read the Bayes DB from
@@ -728,7 +728,7 @@
 
 =item B<--sync>
 
-Syncronize the journal and databases.  Upon successfully syncing the
+Synchronize the journal and databases.  Upon successfully syncing the
 database with the entries in the journal, the journal file is removed.
 
 =item B<--force-expire>
@@ -1236,7 +1236,7 @@
 old_atime_delta * old_reduction_count / goal)
 
 =item - if no expire has been done before, or the last expire looks
-"wierd", do an estimation pass.  The definition of "wierd" is:
+"weird", do an estimation pass.  The definition of "weird" is:
 
 =over 8
 

Modified: spamassassin/trunk/spamd/spamd.raw
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamd/spamd.raw?rev=903473&r1=903472&r2=903473&view=diff
==============================================================================
--- spamassassin/trunk/spamd/spamd.raw (original)
+++ spamassassin/trunk/spamd/spamd.raw Tue Jan 26 22:57:20 2010
@@ -3103,7 +3103,7 @@
 =item B< --ipv4only>, B<--ipv4-only>, B<--ipv4>
 
 Do not use IPv6 for DNS tests. Use if the existing tests
-for IPv6 availablity produce incorrect results or crashes.
+for IPv6 availability produce incorrect results or crashes.
 
 =item B<-L>, B<--local>