I am using SpamAssassin 3.3.2 on FreeBSD 9.1. I'd just like to confirm that I can pipe messages to sa-learn. The following commands should do the same thing, correct?
# cat spammail | sa-learn --spam # sa-learn --spam spammail I have tested and they appear to be identical, but ultimately I will be invoking sa-learn through the dovecot antispam plugin ( http://wiki2.dovecot.org/Plugins/Antispam) and their webpage has a whole section about how sa-learn does not support piped input and I need a wrapper script. I believe that is outdated, but I want to be absolutely sure that I can pipe mail to sa-learn and it will work properly. Thanks.