"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/Mail/SpamAssassin/Conf.pm" between
Mail-SpamAssassin-3.4.3.tar.bz2 and Mail-SpamAssassin-3.4.4.tar.bz2

About: SpamAssassin is a mail filter that uses a wide range of heuristic tests on mail headers and body text to identify "spam" (also known as unsolicited commercial email) incl. Bayesian (statistical) spam filter and several internet-based realtime blacklists.

Conf.pm  (Mail-SpamAssassin-3.4.3.tar.bz2):Conf.pm  (Mail-SpamAssassin-3.4.4.tar.bz2)
skipping to change at line 1252 skipping to change at line 1252
Per mime-part scan size limit in bytes for "body" type rules. Per mime-part scan size limit in bytes for "body" type rules.
The decoded/stripped mime-part is truncated approx to this size. The decoded/stripped mime-part is truncated approx to this size.
Helps scanning large messages safely, so it's not necessary to Helps scanning large messages safely, so it's not necessary to
skip them completely. Disabled with 0. skip them completely. Disabled with 0.
=cut =cut
push (@cmds, { push (@cmds, {
setting => 'body_part_scan_size', setting => 'body_part_scan_size',
is_admin => 1,
default => 50000, default => 50000,
type => $CONF_TYPE_NUMERIC, type => $CONF_TYPE_NUMERIC,
}); });
=item rawbody_part_scan_size (default: 500000) =item rawbody_part_scan_size (default: 500000)
Like body_part_scan_size, for "rawbody" type rules. Like body_part_scan_size, for "rawbody" type rules.
=cut =cut
push (@cmds, { push (@cmds, {
setting => 'rawbody_part_scan_size', setting => 'rawbody_part_scan_size',
is_admin => 1,
default => 500000, default => 500000,
type => $CONF_TYPE_NUMERIC, type => $CONF_TYPE_NUMERIC,
}); });
=back =back
=head2 NETWORK TEST OPTIONS =head2 NETWORK TEST OPTIONS
=over 4 =over 4
skipping to change at line 3489 skipping to change at line 3491
The values <-99999999999999> and <-99999999999998> have a special meaning The values <-99999999999999> and <-99999999999998> have a special meaning
internally, and should not be used. internally, and should not be used.
=cut =cut
push (@cmds, { push (@cmds, {
setting => 'priority', setting => 'priority',
is_priv => 1, is_priv => 1,
type => $CONF_TYPE_HASH_KEY_VALUE, type => $CONF_TYPE_HASH_KEY_VALUE,
code => sub {
my ($self, $key, $value, $line) = @_;
my ($rulename, $priority) = split(/\s+/, $value, 2);
unless (defined $priority) {
return $MISSING_REQUIRED_VALUE;
}
unless ($rulename =~ IS_RULENAME) {
return $INVALID_VALUE;
}
unless ($priority =~ /^-?\d+$/) {
return $INVALID_VALUE;
}
$self->{priority}->{$rulename} = $priority;
}
}); });
=back =back
=head1 ADMINISTRATOR SETTINGS =head1 ADMINISTRATOR SETTINGS
These settings differ from the ones above, in that they are considered 'more These settings differ from the ones above, in that they are considered 'more
privileged' -- even more than the ones in the B<PRIVILEGED SETTINGS> section. privileged' -- even more than the ones in the B<PRIVILEGED SETTINGS> section.
No matter what C<allow_user_rules> is set to, these can never be set from a No matter what C<allow_user_rules> is set to, these can never be set from a
user's C<user_prefs> file when spamc/spamd is being used. However, all user's C<user_prefs> file when spamc/spamd is being used. However, all
 End of changes. 3 change blocks. 
0 lines changed or deleted 16 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)