qpsmtpd/plugins
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 Merge pull request #190 from msimerson/use-lib 2015-01-21 10:06:07 -08:00
logging find plugins -type f -exec perltidy -b {} \; 2013-08-05 15:05:15 -07:00
queue more cleanups 2014-09-17 22:22:44 -07:00
virus Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
badmailfrom find plugins -type f -exec perltidy -b {} \; 2013-08-05 15:05:15 -07:00
badmailfromto Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
badrcptto Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
bogus_bounce find plugins -type f -exec perltidy -b {} \; 2013-08-05 15:05:15 -07:00
connection_time Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
content_log Make content log file configurable 2014-12-03 15:50:45 -06:00
count_unrecognized_commands Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
dkim Move dkim, domainkeys and dmarc plugins into data_post_headers phase 2014-12-24 02:50:50 +00:00
dmarc remove instances of: use lib 'lib' in lib/ and 2015-01-04 17:13:50 -08:00
dns_whitelist_soft Base: consistent DNS handling 2014-11-06 11:15:18 -08:00
dnsbl Base: consistent DNS handling 2014-11-06 11:15:18 -08:00
domainkeys Move dkim, domainkeys and dmarc plugins into data_post_headers phase 2014-12-24 02:50:50 +00:00
dont_require_anglebrackets Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
dspam remove instances of: use lib 'lib' in lib/ and 2015-01-04 17:13:50 -08: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 New convention for calling Qpsmtpd::Base stuff 2014-11-13 16:29:52 -06:00
help find plugins -type f -exec perltidy -b {} \; 2013-08-05 15:05:15 -07:00
hosts_allow Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
http_config Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
karma Remove unnecessary variable 2014-11-27 22:03:34 -06:00
karma_tool Move karma_tool to Qpsmtpd::DB 2014-11-27 22:24:08 -06:00
loadcheck Remove extraneous semicolons 2014-11-11 16:59:40 -06:00
loop find plugins -type f -exec perltidy -b {} \; 2013-08-05 15:05:15 -07:00
milter Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
naughty Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
noop_counter Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
parse_addr_withhelo more cleanups 2014-09-17 22:22:44 -07:00
qmail_deliverable Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
quit_fortune fortune: fix bin detection 2014-11-12 22:58:06 -08:00
random_error Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
rcpt_map more cleanups 2014-09-17 22:22:44 -07:00
rcpt_ok Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
rcpt_regexp Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
registry.txt log2sql: populate plugins table from registry.txt 2013-08-05 15:05:16 -07:00
relay Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00
resolvable_fromhost remove instances of: use lib 'lib' in lib/ and 2015-01-04 17:13:50 -08:00
rhsbl Base: consistent DNS handling 2014-11-06 11:15:18 -08:00
sender_permitted_from spf: switch header appending hook 2014-12-30 14:20:42 -08:00
spamassassin Keep data_post hook, and add data_post_headers 2014-12-24 02:40:07 +00:00
stunnel Base: consistent DNS handling 2014-11-06 11:15:18 -08:00
tls Disable SSLv3 2015-01-07 15:19:39 -08:00
tls_cert shebang fix for tls_cert (standalone script) 2012-05-07 12:28:59 -07:00
uribl remove instances of: use lib 'lib' in lib/ and 2015-01-04 17:13:50 -08:00
user_config POD fixups 2014-09-16 23:27:19 -07:00
whitelist Remove a ton of 'return ()', and a few other minor readability tweaks. 2014-09-17 20:28:51 -05:00