When backing up the bayes database, do I need a path or a filename?

Both. You will need to tell spamtrainer the filename and its location.

For example:

/volumes/mydisk/mydirectory/myfile

Why do my mails NOT get deleted when using “spamtrainer -d”?

The most likely causes are:

  • The junkmail/notjunkmail mailbox is being used by another user when spamtrainer wants to access it.
  • The mail header contains a date in the future (very common with SPAM).
  • The junkmail/notjunkmail mailbox is corrupted and needs reconstruction.
  • You have altered the ACLs on your junkmail/notjunkmail mailbox.

spamtrainer thinks the path I have given is not correct?

Most likely your path contains spaces. This is generally not advisable. If you cannot take the spaces out of your path for some reason, you will need to “escape” them.

Where is the crontab file located for spamtrainer?

spamtrainer uses the root crontab. You can either edit it directly or use spamtrainer -i to add/remove the cron job.