qpsmtpd/t/plugin_tests
Jared Johnson 4f9af75e48 Make Redis optional
Previously the greylist plugin tried to use redis and fell back to DBM. This means that if a system already had an established DBM database, but happened to have Redis running, the existing DBM db would be abandoned for a new Redis DB. This would inevitably lead to more delays for legitimate mail, and possibly lost mail.

This adds a 'redis_server' argument which enables Redis and sets the location of the redis server; if it is not explicitly set, DBM is used instead.

If the redis server is unavailable, rather than failing to start QP, we instead fail to register the plugin.
2015-01-23 14:24:23 -06:00
..
auth Merge pull request #144 from grtodd/master 2014-11-15 12:08:25 -08:00
ident Handle missing GeoIP data gracefully 2015-01-14 15:28:14 -06:00
virus Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
badmailfrom Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
badmailfromto Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
badrcptto Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
content_log Make fake_config() available to all plugin tests 2014-12-11 15:33:34 -06:00
count_unrecognized_commands Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
dmarc Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
dnsbl Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
dspam Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
earlytalker Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
fcrdns fcrdns: document the is_valid_localhost skip 2015-01-04 02:48:01 -05:00
greylisting Make Redis optional 2015-01-23 14:24:23 -06:00
headers Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
helo Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
rcpt_ok Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
relay Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
resolvable_fromhost Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
sender_permitted_from Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
spamassassin Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
user_config remove test counters from plugin tests 2014-09-17 00:11:32 -07:00