Usually I call
 sa-learn --spam --mbox spammybox
but to do the same on remote machines I'd like to do
 cat spammybox | ssh server "sa-learn --spam --mbox"

But sa-learn only spits perl-errors in that case.

This doesn't:
 cat spammybox | ssh server "sa-learn --spam"
but sa-learn thinks the whole mbox is just ONE message.

Is that a bug or a feature or am I missing something?  :-)
Thanks,
 Andy.

-- 
                              o      _     _         _
  ------- __o       __o      /\_   _ \\o  (_)\__/o  (_)          -o)
  ----- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/       /\\
  ---- (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_    _\_v
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Indeed, thanks to the Microsoft PC, the Internet has a level of 
 inconvenience that would be unacceptable in any other mass-market medium.
    (http://www.economist.com/editorial/)

Reply via email to