SPAMASS_MILTER(8) | System Manager's Manual | SPAMASS_MILTER(8) |
spamass-milter
—
sendmail milter for passing emails through
SpamAssassin
spamass-milter |
-p socket
[-b |-B
spamaddress] [-C
-rejectcode ] [-d
debugflags] [-D
host] [-e
defaultdomain] [-f ]
[-i networks]
[-I ] [-m ]
[-M ] [-P
pidfile] [-r
nn] [-r
-rejectmsg ] [-u
defaultuser] [-x ]
[-S -/path/to/sendmail ]
[-- spamc flags ...] |
The spamass-milter
utility is a sendmail
milter that checks and modifies incoming email messages with
SpamAssassin.
The following options are available:
-p
socketsendmail
. If it is removed,
sendmail
will not be able to access the milter.
This may cause messages to bounce, queue, or be passed through unmiltered,
depending on the parameters in sendmail
's .cf
file.-b
spamaddressX-Spam-Orig-To:
’ headers.-B
spamaddress-b
, except the original recipients are
retained. Only one of -b
and
-B
may be used.-C
rejectcode-S
option.-d
debugflags-D
host--
-d
host instead.-e
defaultdomain-u
flag.-f
spamass-milter
to fork into the
background.-i
networks-i
flags will append to the list. For example, if you list all your internal
networks, no outgoing emails will be filtered.-I
-m
Subject:
’ and
‘Content-Type:
’ headers and message
body. This is useful when SpamAssassin is configured with
‘defang_mime 0
’ and
‘report_header 1
’, or when SA is
simply used to add headers for postprocessing later. Updating the body
through the milter interface can be slow for large messages.-M
-m
, but also disables creation of any
SpamAssassin ‘X-Spam-*
’ headers as
well. Both tagged and untagged mail gets passed through unchanged. To be
useful, this option should be used with the -r
,
-b
, or -B
flags. If
-b
is used, the
‘X-Spam-Orig-To:
’ headers will still
be added.-P
pidfile-r
nn-u
flag, and users have changed their
required_hits value).
For example, if you usually use procmail to redirect tagged
email into a separate folder just in case of false positives, you can
use -r
15 and reject
flagrant spam outright while still receiving low-scoring messages.
-R
rejecttext-C
option-S
/path/to/sendmail-u
defaultuser-u
flag. This allows user preferences files to be
used. If the message is addressed to multiple recipients, the username
defaultuser is passed instead.
Note that spamass-milter
does not know
whether an email is incoming or outgoing, so a message from
⟨user1@localdomain.com⟩ to ⟨user2@yahoo.com⟩
will make spamass-milter
pass
-u
user2 to spamc.
-x
sendmail
-bv
, which will perform virtusertable and alias
expansion. The resulting username is then passed to spamc. Requires the
-u
flag. The spamass-milter configuration process
does its best to find sendmail, but it is possible to override this
compiled-in setting via the--
spamc flags ...-d
or
-p
.Georg C. F. Greve
⟨greve@gnu.org⟩
Dan Nelson ⟨dnelson@allantgroup.com⟩
Todd Kover ⟨kovert@omniscient.com⟩
July 25, 2001 | Debian |