From d112e21599d9e6e62012aff758bd396c6dd2778f Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Sun, 29 Dec 2024 20:36:33 -0500 Subject: [PATCH] Explicitly invoke sa-learn with --spam or --ham --- spam-ham-learn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"