NAME
Mail::SpamAssassin::Plugin::WhitelistDBM - DBM From/To Whitelist
SYNOPSIS
loadplugin Mail::SpamAssassin::Plugin::WhitelistDBM
DESCRIPTION
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
AUTHOR
Robert Meyer <r.meyer@net-wizard.org<gt>
COPYRIGHT AND LICENSE
Copyright (C) 2007 Robert Meyer <r.meyer@net-wizard.org>
Based on Mail::SpamAssassin::Plugin::MYSQLList Copyright 2005 Eric A. Hall <ehall@ntrg.com>
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0