FILTER-SPAMASSASSIN(8)

NAME
filter-spamassassin - smtpd filter for SpamAssassin spamd

SYNOPSIS
filter-spamassassin [-s strategy]

DESCRIPTION
filter-spamassassin is a filter for smtpd(8) which can be used to filter mails based on decisions from SpamAssassin's spamd(1) daemon. Mails are piped to the daemon, which decides whether a mail is spam or not, according to its own configuration.

The options are as follows:

-s strategy
    Set the strategy of filter-spamassassin to either accept or reject spam mails. The accepted values are:

    accept
        Spam mails are accepted.
    reject
        Spam mails are rejected.

    The default strategy value is accept.

Depending on the chosen strategy spam mails are either accepted or rejected with a SMTP 554 reply. Non-spam mails are always accepted.

SPAMASSASSIN CONFIGURATION
filter-spamassassin expects that SpamAssassin's spamd(1) to listen on 127.0.0.1 port 783 for incoming requests. This matches to the default configuration of the daemon.

SEE ALSO
filter_api(3), smtpd.conf(5), smtpd(8), spamd(1)

HISTORY
The first version of filter-spamassassin was written in 2015.

AUTHORS
Joerg Jung <jung@openbsd.org>