diff --git a/spam-ham-learn b/spam-ham-learn index 96b5b01..323683b 100755 --- a/spam-ham-learn +++ b/spam-ham-learn @@ -50,7 +50,7 @@ learn_spam() # Invoking sa-learn. log "Invoking sa-learn" - /usr/bin/sa-learn -f "${SPAM_LIST}" + /usr/bin/sa-learn --spam -f "${SPAM_LIST}" # Saving the spam into a different location. log "Saving the spam into a different location" @@ -88,7 +88,7 @@ learn_ham() # Invoking sa-learn. log "Invoking sa-learn" - /usr/bin/sa-learn -f "${HAM_LIST}" + /usr/bin/sa-learn --ham -f "${HAM_LIST}" # Saving the ham. log "Saving the ham into a different location"