Explicitly invoke sa-learn with --spam or --ham
This commit is contained in:
parent
da125323b6
commit
d112e21599
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue