qpsmtpd/t
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
..
config fcrdns: add tests and improved localhost detection 2015-01-04 02:03:09 -05:00
plugin_tests Make Redis optional 2015-01-23 14:24:23 -06:00
Test More explicit explanations 2014-12-24 18:06:22 -06:00
addresses.t find . -name '*.t' -exec perltidy -b {} \; 2013-08-05 15:05:15 -07:00
auth.t More readable output for some auth.t tests 2014-12-15 14:19:23 -06:00
helo.t find . -name '*.t' -exec perltidy -b {} \; 2013-08-05 15:05:15 -07:00
misc.t tests for Qpsmtpd/SMTP 2014-09-11 10:46:29 -07:00
packaging.t Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
plugin_tests.t allow testing a single plugin 2014-11-04 12:49:15 -08:00
qpsmtpd-address.t Take advantage of fake_hook() in existing tests 2014-12-18 14:16:23 -06:00
qpsmtpd-base.t Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
qpsmtpd-config.t Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
qpsmtpd-db-file-dbm.t Fix consistency problems with DBM store 2015-01-21 16:43:23 -06:00
qpsmtpd-db-file.t Add Qpsmtpd::DB testing and more greylist testing 2014-12-30 14:53:53 -06:00
qpsmtpd-db-redis.t Tests for Qpsmtpd::DB::Redis 2014-12-30 14:53:54 -06:00
qpsmtpd-db.t Update expected error text 2014-12-30 14:53:54 -06:00
qpsmtpd-plugin.t Add Qpsmtpd::DB testing and more greylist testing 2014-12-30 14:53:53 -06:00
qpsmtpd-smtp.t completed DKIM signing detection to A-R header 2015-01-04 14:27:59 -08:00
qpsmtpd.t Revert "Turn warnings into $qpsmtpd->log() calls" 2015-01-03 21:45:59 -08:00
rset.t find . -name '*.t' -exec perltidy -b {} \; 2013-08-05 15:05:15 -07:00