https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6703
--- Comment #14 from Kevin A. McGrail <kmcgr...@pccc.com> --- (In reply to comment #13) > A first quick and dirty solution to work around this problem was encouraging. > > I converted the kmail2 mbox with the following command to the older version: > > sed '/^From / s#\(...\), \([0-3][0-9]\) \(...\) 2012 > \([0-2][0-9]:[0-5][0-9]:[0-5][0-9]\) [+-][0-9]\{4\}#\1 \3 \2 \4 2012#' > <spam-old.mbox >spam-new.mbox > > sa-learn reported: > Learned tokens from 1489 message(s) (1733 message(s) examined) > > Which may be ok some messages may be learned earlier. > > A trailing "0" in the day - which may not comply to ctime format - does not > effect the parsing of the mbox file. > > This work-araound will help me over the next days and weeks. But learning in > kmail2 may not work or will need a modification. > > I understand that there are different definitions for the date time in the > "From_" line. What a mess! > > I agree that the best would be to persuade the kmail folks to back off the > change. You may refer to the following bug report: 297198 > > https://bugs.kde.org/show_bug.cgi?id=297198 Very interesting idea to use sed. You should be able to pipe that directly to sa-learn as well instead of even using a temporary file. That's a good temporary fix. -- You are receiving this mail because: You are the assignee for the bug.