On 12.02.10 09:17, smfabac wrote: > On UNIX any file is a mbox file if it contains mail messages in the form: > > ^A^A^A^A > mail headers > mail body > ^A^A^A^A > ^A^A^A^A > Next Message mail headers > mail body > ^A^A^A^A
mmdf, not mbox. > And my not-spam file meets this requirement: > > ^A^A^A^A sa-learn apparently does not support mmdf. when sa-learn does not recognize the format of the file, it does not learn from it. > Also, reading the file with the command "mail -f not-spam" launches > the UNIX mail reader showing that the file is legal mbox file. your "mail" command supports mmdf. save the message to mbox format (saving it to a single file without the ^A's could work) and try sa-learn from it. -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Linux - It's now safe to turn on your computer. Linux - Teraz mozete pocitac bez obav zapnut.