Mailing List Archive

[Bug 3198] New: SA-learn filtering Exchange mail on M:Drive
http://bugzilla.spamassassin.org/show_bug.cgi?id=3198

Summary: SA-learn filtering Exchange mail on M:Drive
Product: Spamassassin
Version: 2.63
Platform: Other
OS/Version: Windows 2000
Status: NEW
Severity: normal
Priority: P4
Component: Learner
AssignedTo: spamassassin-dev@incubator.apache.org
ReportedBy: demi@intellipro.com


When sa-learn lists the files in a folder in order to process it ignores ones
that matach the following RE.

@files = grep { /^[^,.]\S*$/ } readdir(DIR);

This is bad if you point it at a mail folder on an exchange server using the
M: drive.

Exchange uses the subject as the file name so you get filenames like this:

%2A%2A%2A%2ASPAM%2A%2A%2A%2A! $1,500 a Day - Starting Today !%22 DARE ME%22
scraqwcxnafpsffqm.EML

%2A%2A%2A%2ASPAM%2A%2A%2A%2A! $1.10 A DOSE VIAGRA.EML

It would be GREAT if in the next version of SA you made that grep string for
filtering a configurable parameter so people using an Exchange server can
easily point sa-learn at a mailbox folder using the M: drive.

The code is contained in ArchiveIterator.pm



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.