plugin { # antispam_debug_target = syslog # antispam_debug_target = stderr # antispam_verbose_debug = 1 antispam_backend = pipe # mail signature (used with any backend requiring a signature) antispam_signature = X-Bogosity # antispam_signature_missing = move # move silently without training antispam_signature_missing = error # semicolon-separated list of Trash folders (default unset i.e. none) # antispam_trash = # antispam_trash = trash;Trash;Deleted Items; Deleted Messages # antispam_trash_pattern = trash;Trash;Deleted * # antispam_trash_pattern_ignorecase =trash;deleted * antispam_trash = Trash;trash;mail/trash;Deleted Messages # semicolon-separated list of spam folders # antispam_spam = SPAM # antispam_spam_pattern = SPAM # antispam_spam_pattern_ignorecase = junk*;spam* antispam_spam = Junk;junk;Junk Mail;Spam;spam;SPAM # semicolon-separated list of unsure folders (default unset i.e. none) # antispam_unsure = # antispam_unsure_pattern = # antispam_unsure_pattern_ignorecase = # Whether to allow APPENDing to SPAM folders or not # antispam_allow_append_to_spam = no #===================== # pipe plugin # temporary directory antispam_pipe_tmpdir = /tmp # spam/not-spam argument (default unset which will is not what you want) antispam_pipe_program_spam_arg = spam antispam_pipe_program_notspam_arg = ham # binary to pipe mail to antispam_pipe_program = /usr/local/bin/spamtrain #antispam_pipe_program_args = -f;%u@example.com # % expansion done by dovecot }