subject_prefix isn't a config file, but a plugin argument.
for individual plugins
Merge remote-tracking branch 'msimerson/connect' Conflicts: plugins/async/require_resolvable_fromhost plugins/require_resolvable_fromhost
resolvable_fromhost refactor, adding tests
- $self->qp->connection->notes + $self->connection->notes and all tests pass.
so eventually, plugin tests can run against it, if ParaDNS can be loaded
Geoip plugin improvements
basicheaders, add reject option, loglevel
because alerts.etrade.com doesn't set a Date header in alerts
eval Geo::IP and log an error if missing added 2 tests enabled in config/plugins
added reject option document the existence of the loglevel option factored date validity tests into their own sub added tests improved POD
dnsbl, POD tweaks, DENY type tests
consolidated POD at top of file added example options to reject_type POD head added an example loglevel entry consolidated DENY[SOFT|DISCONNECT] logic into get_reject_type added tests for get_reject_type
the previous DK commit moved the 'use Mail::DomainKeys::*' stuff into an eval. The right idea, but tests still fail because I forgot to remove the bare 'use' lines.
Plugins can now use a 'loglevel' argument in config/plugins entry Includes user instructions prepended to docs/logging.pod Already works for all plugins that use named arguments
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.
replaced `date` with POSIX qw(strftime);
instead of a positional arguments, used named arguments (backwards compatible) added a couple log message prefixes removed some trailing whitespace updated POD