Mailing List Archive

svn commit: r1869639 [2/2] - in /spamassassin: branches/3.4/ branches/3.4/lib/Mail/ branches/3.4/lib/Mail/SpamAssassin/ branches/3.4/lib/Mail/SpamAssassin/BayesStore/ branches/3.4/lib/Mail/SpamAssassin/Conf/ branches/3.4/lib/Mail/SpamAssassin/Logger/ b...
Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Message/Metadata/Received.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Message/Metadata/Received.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Message/Metadata/Received.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Message/Metadata/Received.pm Mon Nov 11 04:09:44 2019
@@ -1200,7 +1200,7 @@ sub parse_received_line {

# Local unix socket handover from Cyrus, tested with v2.3.14
# Received: from testintranator.net.vm ([unix socket])_ by testintranator.net.vm (Cyrus v2.3.14) with LMTPA;_ Tue, 21 Jul 2009 14:34:14 +0200
- # Attention: Actually the received header is parsed as "testintranator.net.vm ([unix socket]) by testintranator.net.vm (Cyrus v2.3.14) with LMTPA", "from" is ommited.
+ # Attention: Actually the received header is parsed as "testintranator.net.vm ([unix socket]) by testintranator.net.vm (Cyrus v2.3.14) with LMTPA", "from" is omited.
if (/^\S+ \(\[unix socket\]\) by \S+ \(Cyrus v[0-9]*?\.[0-9]*?\.[0-9]*?\) with LMTPA/) { return 0; }

# HANDOVERS WE KNOW WE CAN'T DEAL WITH: TCP transmission, but to MTAs that

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm Mon Nov 11 04:09:44 2019
@@ -636,7 +636,7 @@ sub _get_autolearn_points {
$self->{autolearn_points} = 0;

# This function needs to use use sum($score[scoreset % 2]) not just {score}.
- # otherwise we shift what we autolearn on and it gets really wierd. - tvd
+ # otherwise we shift what we autolearn on and it gets really weird. - tvd
my $orig_scoreset = $self->{conf}->get_score_set();
my $new_scoreset = $orig_scoreset;
my $scores = $self->{conf}->{scores};
@@ -2499,7 +2499,7 @@ sub _process_text_uri_list {
my $rawuri = $1||$2||$3;
my $schost = $4;
my $rawtype = defined $1 ? 'scheme' : defined $2 ? 'mail' : 'schemeless';
- $rawuri =~ s/(^[^(]*)\).*$/$1/; # as per ThunderBird, ) is an end delimiter if there is no ( preceeding it
+ $rawuri =~ s/(^[^(]*)\).*$/$1/; # as per ThunderBird, ) is an end delimiter if there is no ( preceding it
$rawuri =~ s/[-~!@#^&*()_+=:;\'?,.]*$//; # remove trailing string of punctuations that TBird ignores

next if exists $seen{$rawuri};

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm Mon Nov 11 04:09:44 2019
@@ -192,7 +192,7 @@ sub autolearn_discriminator {
if ($force_autolearn) {
$required_body_points = -99;
$required_head_points = -99;
- dbg("learn: auto-learn: autolearn_force flagged for a rule. Removing seperate body and head point threshold. Body Only Points: $body_only_points ($required_body_points req'd) / Head Only Points: $head_only_points ($required_head_points req'd)");
+ dbg("learn: auto-learn: autolearn_force flagged for a rule. Removing separate body and head point threshold. Body Only Points: $body_only_points ($required_body_points req'd) / Head Only Points: $head_only_points ($required_head_points req'd)");
dbg("learn: auto-learn: autolearn_force flagged because of rule(s): $force_autolearn_names");
} else {
dbg("learn: auto-learn: autolearn_force not flagged for a rule. Body Only Points: $body_only_points ($required_body_points req'd) / Head Only Points: $head_only_points ($required_head_points req'd)");

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DCC.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DCC.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DCC.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DCC.pm Mon Nov 11 04:09:44 2019
@@ -452,7 +452,7 @@ sub find_dcc_home {

my $conf = $self->{main}->{conf};

- # Get the DCC software version for talking to dccifd and formating the
+ # Get the DCC software version for talking to dccifd and formatting the
# dccifd options and the built-in DCC homedir. Use -q to prevent delays.
my $cdcc_home;
my $cdcc = $self->dcc_pgm_path('cdcc');

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DNSEval.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DNSEval.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DNSEval.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/DNSEval.pm Mon Nov 11 04:09:44 2019
@@ -218,7 +218,7 @@ sub parsed_metadata {
} @{$pms->{relays_trusted}};
push @fullexternal, @fullips; # add untrusted set too
# Make sure a header significantly improves results before adding here
- # X-Sender-Ip: could be worth using (very low occurance for me)
+ # X-Sender-Ip: could be worth using (very low occurence for me)
# X-Sender: has a very low bang-for-buck for me
my @originating;
foreach my $header (@{$pms->{conf}->{originating_ip_headers}}) {

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/FreeMail.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/FreeMail.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/FreeMail.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/FreeMail.pm Mon Nov 11 04:09:44 2019
@@ -50,7 +50,7 @@ freemail_domains domain ...

freemail_whitelist email/domain ...

- Emails or domains listed here are ignored (pretend they arent
+ Emails or domains listed here are ignored (pretend they aren't
freemail). No wildcards!

freemail_import_whitelist_auth 1/0

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/HTMLEval.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/HTMLEval.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/HTMLEval.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/HTMLEval.pm Mon Nov 11 04:09:44 2019
@@ -128,7 +128,7 @@ sub html_eval {
return 0 if $rawexpr !~ /^([\<\>\=\!\-\+ 0-9]+)$/;
my $expr = untaint_var($1);

- # workaround bug 3320: wierd perl bug where additional, very explicit
+ # workaround bug 3320: weird perl bug where additional, very explicit
# untainting into a new var is required.
my $tainted = $pms->{html}{$test};
return 0 unless defined($tainted);

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/HashBL.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/HashBL.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/HashBL.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/HashBL.pm Mon Nov 11 04:09:44 2019
@@ -54,7 +54,7 @@ OPTS refers to multiple generic options:
Multiple options can be separated with slash or other non-word character.
If OPTS is empty ('') or missing, default is used.

-HEADERS referes to slash separated list of Headers to process:
+HEADERS refers to slash separated list of Headers to process:

ALL all headers
ALLFROM all From headers as returned by $pms->all_from_addrs()

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/OLEVBMacro.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/OLEVBMacro.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/OLEVBMacro.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/OLEVBMacro.pm Mon Nov 11 04:09:44 2019
@@ -701,7 +701,7 @@ sub _get_part_details {

sub _open_zip_handle {
my ($data) = @_;
- # open our archive from raw datas
+ # open our archive from raw data
my $SH = IO::String->new($data);

Archive::Zip::setErrorHandler( \&_zip_error_handler );

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/SPF.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/SPF.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/SPF.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/SPF.pm Mon Nov 11 04:09:44 2019
@@ -766,7 +766,7 @@ sub _check_def_spf_whitelist {
}

if (!$scanner->{spf_sender}) {
- dbg("spf: def_spf_whitelist_from: could not find useable envelope sender");
+ dbg("spf: def_spf_whitelist_from: could not find usable envelope sender");
return;
}


Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Shortcircuit.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Shortcircuit.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Shortcircuit.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/Shortcircuit.pm Mon Nov 11 04:09:44 2019
@@ -33,7 +33,7 @@ This plugin implements simple, test-base
test will force all other pending rules to be skipped, if that test is hit.
In addition, a symbolic rule, C<SHORTCIRCUIT>, will fire.

-Recomended usage is to use C<priority> to set rules with strong S/O values (ie.
+Recommended usage is to use C<priority> to set rules with strong S/O values (ie.
1.0) to be run first, and make instant spam or ham classification based on
that.

@@ -81,7 +81,7 @@ The following configuration settings are
Shortcircuiting a test will force all other pending rules to be skipped, if
that test is hit.

-Recomended usage is to use C<priority> to set rules with strong S/O values (ie.
+Recommended usage is to use C<priority> to set rules with strong S/O values (ie.
1.0) to be run first, and make instant spam or ham classification based on
that.


Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/TxRep.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/TxRep.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/TxRep.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/TxRep.pm Mon Nov 11 04:09:44 2019
@@ -681,7 +681,7 @@ the same authorized identity, and will n
Note: at domains that define the useless SPF +all (pass all), no IP would be
ever associated with the email address, and all addresses (incl. the froged
ones) would be treated as coming from the authorized source. However, such
-domains are hopefuly rare, and ask for this kind of treatment anyway.
+domains are hopefully rare, and ask for this kind of treatment anyway.

=back

@@ -1163,7 +1163,7 @@ DKIM signing domain or the tag 'spf' aft
When a message contains both a DKIM signature and an SPF pass, the DKIM
signature takes the priority, so the record bound to the 'spf' tag won't
be checked. Only email addresses and domains can be bound to DKIM or SPF.
-Records of IP adresses and HELO names are always without DKIM/SPF.
+Records of IP addresses and HELO names are always without DKIM/SPF.

In case of dual storage, the black/whitelisting is performed only in the
default storage.
@@ -1194,7 +1194,7 @@ sub remove_address {my $self=shift; r
5. No IP checking at signed emails (signature authenticates the email
instead of the IP address)

-6. No IP checking at SPF pass (we assume the domain owner is responsable
+6. No IP checking at SPF pass (we assume the domain owner is responsible
for all IP's he authorizes to send from, hence we use the same identity
for all of them)

@@ -1588,7 +1588,7 @@ sub remove_score {
if ($self->{entry}->{msgcount} > 2)
{$self->{entry}->{msgcount} -= 2;}
else {$self->{entry}->{msgcount} = 0;}
- # substract 2, and add a score; hence decrementing by 1
+ # subtract 2, and add a score; hence decrementing by 1
$self->{checker}->add_score($self->{entry}, -1*$score);
}

@@ -1948,7 +1948,7 @@ MEMORY engine stores the entire table in
performance similar to Redis. You would need to care about the replication
of the RAM table to disk through a cronjob, to avoid loss of data at reboot.
The InnoDB engine is used by default, offering high scalability (database
-size and concurence of accesses). In conjunction with a high value of
+size and concurrence of accesses). In conjunction with a high value of
innodb_buffer_pool or with the memcached plugin (MySQL v5.6+) it can also
offer performance comparable to Redis.


Modified: spamassassin/trunk/lib/Mail/SpamAssassin/SpamdForkScaling.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/SpamdForkScaling.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/SpamdForkScaling.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/SpamdForkScaling.pm Mon Nov 11 04:09:44 2019
@@ -296,7 +296,7 @@ sub main_server_poll {
{
# this happens if the process is signalled during the select(),
# for example if someone sends SIGHUP to reload the configuration.
- # just return inmmediately
+ # just return immediately
dbg("prefork: select returned err $selerr, probably signalled");
return;
}

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Util.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Util.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Util.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Util.pm Mon Nov 11 04:09:44 2019
@@ -402,7 +402,7 @@ sub is_fqdn_valid {
# validate dot separated components/labels
my @labels = split(/\./, $host);
my $cnt = scalar @labels;
- return unless $cnt > 1; # atleast two labels required
+ return unless $cnt > 1; # at least two labels required
foreach my $label (@labels) {
# length of 1-63
return if length($label) < 1;
@@ -1557,7 +1557,7 @@ sub uri_list_canonicalize {
push(@nuris, $nuri);
}

- # deal with wierd hostname parts, remove user/pass, etc.
+ # deal with weird hostname parts, remove user/pass, etc.
if ($nuri =~ m{^(https?://)([^\@/?#]*\@)?([^/?#:]+)((?::(\d*))?.*)$}i) {
my($proto, $host, $rest) = ($1,$3,$4);
my $auth = defined $2 ? $2 : '';
@@ -1635,7 +1635,7 @@ sub uri_list_canonicalize {

# bug 3186: If in a sentence, we might pick up odd characters ...
# ie: "visit http://example.biz." or "visit http://example.biz!!!"
- # the host portion should end in some form of alpha-numeric, strip off
+ # the host portion should end in some form of alphanumeric, strip off
# the rest.
if ($host =~ s/[^0-9A-Za-z]+$//) {
push(@nuris, join ('', $proto, $host, $rest));
@@ -1877,7 +1877,7 @@ sub helper_app_pipe_open_unix {
setuid_to_euid();
dbg("util: setuid: ruid=$< euid=$> rgid=$( egid=$) ");

- # now set up the fds. due to some wierdness, we may have to ensure that
+ # now set up the fds. due to some weirdness, we may have to ensure that
# we *really* close the correct fd number, since some other code may have
# redirected the meaning of STDOUT/STDIN/STDERR it seems... (bug 3649).
# use POSIX::close() for that. it's safe to call close() and POSIX::close()

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Util/DependencyInfo.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Util/DependencyInfo.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Util/DependencyInfo.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Util/DependencyInfo.pm Mon Nov 11 04:09:44 2019
@@ -209,7 +209,7 @@ our @OPTIONAL_MODULES = (
spamd (the --ssl option to spamd), you need to install this
module. (You will need the OpenSSL libraries and use the
ENABLE_SSL="yes" argument to Makefile.PL to build and run an SSL
- compatibile spamc.)',
+ compatible spamc.)',
},
{
module => 'Compress::Zlib',

Modified: spamassassin/trunk/rules/regression_tests.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rules/regression_tests.cf?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/rules/regression_tests.cf (original)
+++ spamassassin/trunk/rules/regression_tests.cf Mon Nov 11 04:09:44 2019
@@ -1,6 +1,6 @@
# SpamAssassin rules file: regression tests
#
-# This file contains tests perfomed on `make test`. It should not be
+# This file contains tests performed on `make test`. It should not be
# distributed.
#
# <@LICENSE>

Modified: spamassassin/trunk/sa-check_spamd.raw
URL: http://svn.apache.org/viewvc/spamassassin/trunk/sa-check_spamd.raw?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/sa-check_spamd.raw (original)
+++ spamassassin/trunk/sa-check_spamd.raw Mon Nov 11 04:09:44 2019
@@ -260,7 +260,7 @@ if ($response == 1) {
}

# otherwise we got a timely ping response
- printf("SPAMD OK: %.3f second ping repsonse time\n", $elapsed);
+ printf("SPAMD OK: %.3f second ping response time\n", $elapsed);
exit EX_OK;
}

@@ -408,7 +408,7 @@ Display version info on STDOUT.
Warning ping response threshold in seconds. If a spamd ping response takes
longer than the value specified (in seconds), and does not exceed the
B<critical> threshold value, the program will exit with a value of 1 to
-indicate the warning staus.
+indicate the warning status.

This value must be no longer than the value specified for B<critical> and
less than the value specified for B<timeout>.

Modified: spamassassin/trunk/sa-compile.raw
URL: http://svn.apache.org/viewvc/spamassassin/trunk/sa-compile.raw?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/sa-compile.raw (original)
+++ spamassassin/trunk/sa-compile.raw Mon Nov 11 04:09:44 2019
@@ -795,7 +795,7 @@ Mail::SpamAssassin(3)
spamassassin(1)
spamd(1)

-=head1 PREREQUESITES
+=head1 PREREQUISITES

C<Mail::SpamAssassin>
C<re2c>

Modified: spamassassin/trunk/sa-update.raw
URL: http://svn.apache.org/viewvc/spamassassin/trunk/sa-update.raw?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/sa-update.raw (original)
+++ spamassassin/trunk/sa-update.raw Mon Nov 11 04:09:44 2019
@@ -1256,7 +1256,7 @@ elsif (!$channel_failures) {
$exit = $channel_successes ? 0 : 1;
}
else { # at least some failures
- # 3: some failures, but at least one channel suceeded
+ # 3: some failures, but at least one channel succeeded
# 4 or higher means all channels failed
$exit = $channel_successes ? 3 : 4;
}
@@ -2240,7 +2240,7 @@ spamassassin(1)
spamd(1)
<http://wiki.apache.org/spamassassin/RuleUpdates>

-=head1 PREREQUESITES
+=head1 PREREQUISITES

C<Mail::SpamAssassin>


Modified: spamassassin/trunk/spamassassin.raw
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamassassin.raw?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/spamassassin.raw (original)
+++ spamassassin/trunk/spamassassin.raw Mon Nov 11 04:09:44 2019
@@ -794,7 +794,7 @@ SpamAssassin was run.

=item X-Spam-Level: header

-A series of "*" charactes where each one represents a full score point.
+A series of "*" characters where each one represents a full score point.

=item X-Spam-Status: header


Modified: spamassassin/trunk/spamc/README.qmail
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamc/README.qmail?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/spamc/README.qmail (original)
+++ spamassassin/trunk/spamc/README.qmail Mon Nov 11 04:09:44 2019
@@ -35,7 +35,7 @@ variables. These options are supported (
-u <username> | SPAMDUSER = <username>

Example: In order to use the Unix domain sockets feature of spamc/spamd, you
-need to set an additional enviroment variable (in a top level script):
+need to set an additional environment variable (in a top level script):

export SPAMDSOCK='/path/to/spamd.sock'


Modified: spamassassin/trunk/spamc/README.win
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamc/README.win?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/spamc/README.win (original)
+++ spamassassin/trunk/spamc/README.win Mon Nov 11 04:09:44 2019
@@ -4,7 +4,7 @@ Building spamd/spamc under Windows
Spamd currently does not run under Windows, but spamc does.

With SpamAssassin 3.4.2, spamd has been made available for Windows. Note
-that this is still experimental. In terms of stability and perfomance it
+that this is still experimental. In terms of stability and performance it
heavily depends on which Perl distribution and/or module versions you
are using. So do not use it in a production environment. Alternatively,
spamd also works when built and run in the Cygwin Unix emulation

Modified: spamassassin/trunk/spamc/spamc.pod
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamc/spamc.pod?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/spamc/spamc.pod (original)
+++ spamassassin/trunk/spamc/spamc.pod Mon Nov 11 04:09:44 2019
@@ -306,7 +306,7 @@ Example:

By default, spamc will use the 'safe fallback' error recovery method. That
means, it will always exit with an exit code of C<0>, even if an error was
-encountered. If any error occurrs, it will simply pass through the unaltered
+encountered. If any error occurs, it will simply pass through the unaltered
message.

The B<-c> and B<-E> options modify this; instead, spamc will use an exit code

Modified: spamassassin/trunk/spamd-apache2/lib/Mail/SpamAssassin/Spamd.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamd-apache2/lib/Mail/SpamAssassin/Spamd.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/spamd-apache2/lib/Mail/SpamAssassin/Spamd.pm (original)
+++ spamassassin/trunk/spamd-apache2/lib/Mail/SpamAssassin/Spamd.pm Mon Nov 11 04:09:44 2019
@@ -262,7 +262,7 @@ sub parse_msgids {

=item C<service_timeout('error message')>

-Send appropiate status line to the client and log the error.
+Send appropriate status line to the client and log the error.

=cut


Modified: spamassassin/trunk/spamd/README
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamd/README?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/spamd/README (original)
+++ spamassassin/trunk/spamd/README Mon Nov 11 04:09:44 2019
@@ -16,7 +16,7 @@ process messages. By default, spamd lis
specifiable on the command line.

/*
- * FIXME: The following paragraph(s) have to be updated as childs are now
+ * FIXME: The following paragraph(s) have to be updated as children are now
* pre-spawned
*/
When spamd receives a connection, it spawns a child to handle the request.
@@ -144,7 +144,7 @@ configuration: Mysql
can users connect? yes no yes no
| | / |
| | / |
- unsafe | / root prefered
+ unsafe | / root preferred
| /
safe as non-root
|

Modified: spamassassin/trunk/spamd/netbsd-rc-script.sh
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamd/netbsd-rc-script.sh?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/spamd/netbsd-rc-script.sh (original)
+++ spamassassin/trunk/spamd/netbsd-rc-script.sh Mon Nov 11 04:09:44 2019
@@ -49,7 +49,7 @@ OPSYS=@OPSYS@
INTERPRETER_SUPPORT=@INTERPRETER_SUPPORT@

# A default limit of 64 on NetBSD may be too low for many
-# people (eg with addional RBL rules)
+# people (e.g. with additional RBL rules)
SOFT_FDLIMIT=`ulimit -S -n`
HARD_FDLIMIT=`ulimit -H -n`


Modified: spamassassin/trunk/spamd/spamd.raw
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamd/spamd.raw?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/spamd/spamd.raw (original)
+++ spamassassin/trunk/spamd/spamd.raw Mon Nov 11 04:09:44 2019
@@ -1514,7 +1514,7 @@ sub accept_from_any_server_socket {

if ($sockets_access_lock_fh) {
dbg("spamd: acquiring a lock over select+accept");
- # with multipe sockets a lock across select+accept is needed, Bug 6996
+ # with multiple sockets a lock across select+accept is needed, Bug 6996
flock($sockets_access_lock_fh, LOCK_EX)
or die "Can't acquire lock access to sockets: $!";
$locked = 1;
@@ -1534,7 +1534,7 @@ sub accept_from_any_server_socket {
die "no fd ready, fd bit field $sel_mask_str";
}

- my(@ready_fd) = # list of file desciptors ready for read
+ my(@ready_fd) = # list of file descriptors ready for read
grep(defined $_->{fd} && vec($fdvec, $_->{fd}, 1), @listen_sockets);
if (!@ready_fd) {
die "no file descriptors matching a bit field " . unpack('b*',$fdvec);
@@ -3344,7 +3344,7 @@ updated.

Note that spamd always trusts the username passed in (unless
B<--auth-ident> is used) so clients could maliciously learn messages
-for other users. (This is not ususally a concern with an SQL Bayes
+for other users. (This is not usually a concern with an SQL Bayes
store as users will typically have read-write access directly to the
database, and can also use C<sa-learn> with the B<-u> option to
achieve the same result.)

Modified: spamassassin/trunk/spamd/suse-ancient-rc-script.sh
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamd/suse-ancient-rc-script.sh?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/spamd/suse-ancient-rc-script.sh (original)
+++ spamassassin/trunk/spamd/suse-ancient-rc-script.sh Mon Nov 11 04:09:44 2019
@@ -104,7 +104,7 @@ function my_getpid()
# a process running with that pid.
# returns:
# 0 spamd running at the printed pid
-# 1 some unspecified error occured
+# 1 some unspecified error occurred
# 4 couldn't access a file
# 10 found a pid but no process running there
# 11 found a pid but it wasn't spamd running there

Modified: spamassassin/trunk/sql/README.bayes
URL: http://svn.apache.org/viewvc/spamassassin/trunk/sql/README.bayes?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/sql/README.bayes (original)
+++ spamassassin/trunk/sql/README.bayes Mon Nov 11 04:09:44 2019
@@ -102,7 +102,7 @@ upgrade to at least v1.31.

In addition, there appears to be a quote bug in some versions of PostgreSQL.
It's unclear when the bug was fixed. 7.4.2 seems to work just fine, however
-some have reported problems with 7.3.6. Your milage may vary with versions
+some have reported problems with 7.3.6. Your mileage may vary with versions
less than 7.4.2. If you happen to know when the specific bug was fixed please
feel free to notify the dev team so they can update this documentation.


Modified: spamassassin/trunk/t/SATest.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/SATest.pm?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/t/SATest.pm (original)
+++ spamassassin/trunk/t/SATest.pm Mon Nov 11 04:09:44 2019
@@ -59,7 +59,7 @@ BEGIN {

# Clean PATH so taint doesn't complain
$ENV{'PATH'} = '/bin:/usr/bin:/usr/local/bin';
- # Remove tainted envs, atleast ENV used in FreeBSD
+ # Remove tainted envs, at least ENV used in FreeBSD
delete @ENV{qw(IFS CDPATH ENV BASH_ENV)};
}

@@ -884,7 +884,7 @@ sub read_config {
my $v = shift @ARGV;

# Override only allows setting one variable. Some xt tests need to set more
- # config variables. Adding : as a delimeter for config variable and value
+ # config variables. Adding : as a delimiter for config variable and value
# parameters

@k = split (/:/,$k);

Modified: spamassassin/trunk/t/spf.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/spf.t?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/t/spf.t (original)
+++ spamassassin/trunk/t/spf.t Mon Nov 11 04:09:44 2019
@@ -315,7 +315,7 @@ sarun ("-t < data/nice/spf1", \&patterns
ok_all_patterns();


-# 41-44: same as test 1-2 with some spf whitelist entires that don't match
+# 41-44: same as test 1-2 with some spf whitelist entries that don't match

tstprefs("
whitelist_from_spf *\@example.com

Modified: spamassassin/trunk/t/whitelist_addrs.t
URL: http://svn.apache.org/viewvc/spamassassin/trunk/t/whitelist_addrs.t?rev=1869639&r1=1869638&r2=1869639&view=diff
==============================================================================
--- spamassassin/trunk/t/whitelist_addrs.t (original)
+++ spamassassin/trunk/t/whitelist_addrs.t Mon Nov 11 04:09:44 2019
@@ -72,7 +72,7 @@ ok(sarun ("--remove-addr-from-whitelist
# "print" commands that are present in the command line interface are not being printed
# when you call the methods directly. This is why we are manipulating STDOUT.

-open my $oldout, ">&STDOUT" || die "Cannnot dup STDOUT";
+open my $oldout, ">&STDOUT" || die "Cannot dup STDOUT";

my $fh = IO::File->new_tmpfile();
ok($fh);