Hello, I run into a problem calling sa-learn from mutt. This problem was reported at least two times in the past, but no solution to it was posted:
http://mail-archives.apache.org/mod_mbox/spamassassin-users/200406.mbox/%3c20040611085128.gc14...@kassi.oddi.is%3e http://mail-archives.apache.org/mod_mbox/spamassassin-users/200404.mbox/%3cs090db0a....@dsbfs2.denmarkstate.com%3e I am experiencing the same problem. I was calling sa-learn as follows: <enter-command>unset wait_key<enter><shell-escape>date >> ~/.sa-learn.log<enter><pipe-message>sa-learn --spam --no-sync -D bayes >> ~/.sa-learn.log 2>&1 &<enter> Removing the "&" at the end of the sa-learn call, i.e replacing this by <enter-command>unset wait_key<enter><shell-escape>date >> ~/.sa-learn.log<enter><pipe-message>sa-learn --spam --no-sync -D bayes >> ~/.sa-learn.log 2>&1<enter> solved the problem for me. Then sa-learn correctly learns the spam mails. But of course it is annoying to wait for sa-learn to finish each time. So I would like to ask if somehow has an idea why the sa-learn call with the "&" fails in the way described in the postings mentioned above, while it is working without the "&". Best regards, Oliver