NAME
Mail::Decency::ContentFilter::SpamAssassin
DESCRIPTION
Filter messages through spamc and translate results
CONFIG
---
disable: 0
#max_size: 0
#timeout: 30
cmd_check: '/usr/bin/spamc -u %user% --headers'
CLASS ATTRIBUTES
host
Spamassassin host .. use this or socket
port
Spamassassin port .. if host is used
socket
Spamassassin socket .. instead of host and port
METHODS
pre_init
handle
Use Mail::SpamAssassin::Client to retreive filter result from SpamAssassin
train
Train mails into SpamAssassin
get_client
Creates instance of Mail::SpamAssassin::Client and returns it
AUTHOR
Ulrich Kautz <uk@fortrabbit.de>
COPYRIGHT
Copyright (c) 2010 the "AUTHOR" as listed above
LICENCSE
This library is free software and may be distributed under the same terms as perl itself.