3 if [ "$(basename $0)" = "learn_from_spam" ]; then
5 spamassassin -r < "$file";
6 spamassassin -R < "$file";
8 elif [ "$(basename $0)" = "learn_from_ham" ]; then
10 spamassassin -k < "$file";
11 spamassassin -W < "$file";
14 "Called in a way this script cannot recognize";