The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mail::Decency::ContentFilter::DSPAM

DESCRIPTION

Uses LMTP to connect directly to running DSPAM server an retreive filter result

DSPAM CONFIG

You have to configure decency accordingly to the DSPAM settings. Modify in dspam.conf:

  • ServerPass.*

    DSPAM: ServerPass.Relay1 "secret"

    dececny: dspam_client_ident: 'secret@Relay1'

  • ServerHost, ServerPort

    DSPAM: ServerHost 127.0.0.1 ServerPort 17000

    decency: dspam_host: '127.0.0.1' dspam_port: 17000

CLASS ATTRIBUTES

dspam_client_ident : Str

The DSPAM auth string, as set for ClientIdent in dspam.conf

Defaults: secret@Relay1

dspam_host : Str

Host string/ip where DSPAM runs

Default: 127.0.0.1

dspam_port : Int

Port where DSPAM listens

Default: 1024

Private variables

METHODS

init

handle

Pipeps mails through DSPAM server, retreives result

train

retreive_result

Pass mail via Net::LMTP to DSPAM an retreive result

SEE ALSO

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.