i am starting to remember that sa-learn is being called from dovecot

in dovecot/conf.d/90-plugin.conf i have
plugin {
  # man antispam
  #setting_name = value
  antispam_debug_target = syslog
  antispam_verbose_debug = 1

  antispam_backend = pipe
  antispam_signature = X-DSPAM-Signature
  # action to take on mails without signature
  # (used with any backend requiring a signature)
  # (we recommend only setting this to 'move' after verifying that the
  # whole setup is working)
  # antispam_signature_missing = move # move silently without training
  antispam_signature_missing = error

  antispam_trash = Trash
  antispam_spam = Junk
  antispam_pipe_program_spam_arg = --spam
  antispam_pipe_program_notspam_arg = --ham
  antispam_pipe_program = /usr/bin/sa-learn
  antispam_pipe_program_args = --username=%Lu
}


On 10/07/2020 13:59, Matus UHLAR - fantomas wrote:
On 10.07.20 13:16, Matthew Broadhead wrote:
i mean bayes_seen table in my MySQL database

where did you configure bayes to use mysql?
are you sure amavis uses it?

and... did you train manually or do you completely rely on automatic
training?

On 10/07/2020 13:12, Matus UHLAR - fantomas wrote:
On 10.07.20 13:00, Matthew Broadhead wrote:
i have 788787 messages in my

your?

bayes_seen directory

what is the bayes_seen directory? I have bayes_seen file, which is part of
the bayes database.

.  33494 are flagged 's'.  i am not sure why it seems to have no effect on the spam coming through


On 10/07/2020 11:40, Matus UHLAR - fantomas wrote:
On 10.07.20 11:02, Matthew Broadhead wrote:
i tried to set up bayes training before but i feel that i was unsuccessful.

bayes need some time and some mails to learn until it starts hitting.
You can help it by training manually, using bayes database in amavis' home directory. You also should do that, because automatic training is not ideal
ane may miss many spams.


Reply via email to