http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5389
Summary: sa-learn: debug option causes reading from STDIN
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: Learner
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
SA 3.2.0-rc1, while trying to sa-learn a ham:
This command works fine:
sa-learn --ham 2.lis
Adding a -D option causes a hang:
sa-learn --ham -D 2.lis
Actually as it turns out, it is not a hang,
but it stops at sa-learn line 398:
print {$handle} <STDIN>;
and waits for input from the terminal!?
(btw, the reason why I needed a -D was that sa-learn
was refusing to recognize a ham message, without giving
a reason:
Learned tokens from 0 message(s) (0 message(s) examined)
It turned out the message size was just over 256kB.
It would be nice to give the user some indication of
why a message was just ignored)
Mark
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.