Mailing List Archive

svn commit: rev 6518 - incubator/spamassassin/trunk/lib/Mail/SpamAssassin
Author: felicity
Date: Thu Feb 5 12:26:15 2004
New Revision: 6518

Modified:
incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm
Log:
the loop should deal with the file name, not the folder name ...

Modified: incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm
==============================================================================
--- incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm (original)
+++ incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm Thu Feb 5 12:26:15 2004
@@ -570,9 +570,10 @@
}

foreach my $file (@files) {
- if ($folder =~ /\.(?:gz|bz2)$/) {
+ if ($file =~ /\.(?:gz|bz2)$/) {
die "compressed mbox folders are not supported at this time\n";
}
+
mail_open($file) or return;

my $start = 0; # start of a message