"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/Mail/SpamAssassin/Plugin/MIMEEval.pm" between
Mail-SpamAssassin-3.4.4.tar.bz2 and Mail-SpamAssassin-3.4.5.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.

MIMEEval.pm  (Mail-SpamAssassin-3.4.4.tar.bz2):MIMEEval.pm  (Mail-SpamAssassin-3.4.5.tar.bz2)
skipping to change at line 294 skipping to change at line 294
} else { } else {
$pms->{mime_html_charsets} = $charset; $pms->{mime_html_charsets} = $charset;
} }
if (! $pms->{mime_faraway_charset}) { if (! $pms->{mime_faraway_charset}) {
my @l = Mail::SpamAssassin::Util::get_my_locales($self->{main}->{conf}->{o k_locales}); my @l = Mail::SpamAssassin::Util::get_my_locales($self->{main}->{conf}->{o k_locales});
if (!(grep { $_ eq "all" } @l) && if (!(grep { $_ eq "all" } @l) &&
!Mail::SpamAssassin::Locales::is_charset_ok_for_locales($charset, @l)) !Mail::SpamAssassin::Locales::is_charset_ok_for_locales($charset, @l))
{ {
dbg ("mimeeval: $charset is not ok for @l");
$pms->{mime_faraway_charset} = 1; $pms->{mime_faraway_charset} = 1;
} }
} }
} }
} }
sub _check_attachments { sub _check_attachments {
my ($self, $pms) = @_; my ($self, $pms) = @_;
# MIME status # MIME status
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

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