Hello. After digging a bit through the archives, I still have had little success in finding out why I cannot do something like this:
sa-learn --spam < 0-SPAMHOLD
0-SPAMHOLD is a folder in my imap account on my server.
Um.. redirecting folders is in general impossible... Its a limit of redirection in general.
however, sa-learn can take a directory name on the command line if you get the un-needed < out of there and let SA parse the parameter instead of having your shell parse it. (yes, redirection is handled by your shell... bash, tcsh, whatever)
sa-learn --spam SPAMHOLD
