qpsmtpd/t/plugin_tests
Matt Simerson 51486d0b04 SPF plugin: refactored, tests, new config option
added POD description of spfquery note

changed spf_deny -> reject  (and offered 4 more options, see POD for reject)
	backwards compatible with old config settings
	replicates qmail-smtpd SPF patch behavior

improved logging (again)

uses a stringy eval 'use Mail::SPF' in the register sub. If missing, warn and log the error, and don't register any hooks. This is much nicer error than the current, "*** Remote host closed connection unexpectedly." broken mail server that results from enabling the SPF plugin without Mail::SPF installed.

background: I noticed I was deferring valid emails with the SPF plugin at 'spf_deny 1', and without changing the code, there wasn't a way to change how ~all records were handled. This provides that flexibility.
2012-05-21 04:19:45 -04:00
..
auth auth_vpopmail_sql, refactor, log, tests 2012-05-07 09:53:03 -07:00
ident p0f: tests, tests, tests, backward compat 2012-05-20 23:38:48 -07:00
check_badmailfrom added logging and tests to check_badmailfrom 2012-05-06 16:08:28 -07:00
check_badmailfromto badmailfromto: added strictures, tests, and 2012-05-06 16:02:43 -07:00
check_badrcptto badrcptto: merged plugins, refactored, tests 2012-05-20 23:39:38 -07:00
check_basicheaders increment test counter declaration 2012-05-20 23:40:39 -07:00
count_unrecognized_commands count_unrecognized_commands 2012-05-20 23:34:58 -07:00
dnsbl refactored dnsbl, sprinkling logs and tests on it 2012-05-06 16:21:09 -07:00
dspam dspam: added check for autolearn 2012-05-20 23:38:42 -07:00
greylisting greylisting: reset transaction for immunity tests 2012-05-20 23:35:59 -07:00
rcpt_ok test hostname before failing the test. 2012-05-20 23:39:24 -07:00
sender_permitted_from SPF plugin: refactored, tests, new config option 2012-05-21 04:19:45 -04:00
spamassassin spamassassin: added spam status to log messages 2012-05-20 23:39:03 -07:00