Mail::SpamAssassin::Plugin::WhitelistDBM - DBM From/To Whitelist


MySpam documentation  | view source Contained in the MySpam distribution.

Index


NAME

Top

Mail::SpamAssassin::Plugin::WhitelistDBM - DBM From/To Whitelist

SYNOPSIS

Top

  loadplugin Mail::SpamAssassin::Plugin::WhitelistDBM

DESCRIPTION

Top

Whitelist based on From/To pairs stored in a DBM database.

This plugin checks a DBM database for combinations of From and To adresses. If a match occurs, the score will be altered by +n or -n Points.

The format of the DBM database is as that used by the myspam program. Each key is a sender address (From) concatenated with '|' and the recipient address (To).

  <From>|<To>

I have tried to write this plugin as generic as possible (given my knoledge of Perl). It should be possible to add custom rules, defined in a DBM-DB. See coments below.

A possible Configuration-File looks as follows:

  loadplugin Mail::SpamAssassin::Plugin::WhitelistDBM

  header          WHITELISTDBM_FROM_TO       eval:whitelistdbm_from_to()
  describe        WHITELISTDBM_FROM_TO       Dynamic From-To pairs
  score           WHITELISTDBM_FROM_TO       20.0

  whitelistdbm    /etc/myspam/whitelist.dbm

SEE ALSO

Top

spamassassin, myspam

AUTHOR

Top

Robert Meyer <r.meyer@net-wizard.org<gt>

COPYRIGHT AND LICENSE

Top


MySpam documentation  | view source Contained in the MySpam distribution.