Commit Graph

11 Commits

Author SHA1 Message Date
Matt Simerson
736e3b6eb3 distinguish rejecting versus tolerated failures 2013-04-24 16:25:31 -04:00
Matt Simerson
3d7d43e0af split is_immune into itself + is_naughty
is_immune tests designates to plugins they should always skip processing.

That's typical for naughty connections, but this change provides the ability to handly naughty connections differently than (whitelisted/relayclients/known good) senders.
2013-04-24 00:23:24 -04:00
Matt Simerson
8122fcfb27 Plugin: override dns_timeout by passing in a value 2013-04-21 12:14:27 -04:00
Matt Simerson
73c988ac05 find . -name '*.pm' -exec perltidy -b {} \; 2013-04-21 00:08:43 -04:00
Matt Simerson
23332dc71b moved triplicated init_resolver into Plugin.pm 2013-03-27 19:03:13 -04:00
Matt Simerson
a1ab386779 Q:Plugin.pm: abstracted out store_deferred_reject 2013-03-27 18:16:43 -04:00
Matt Simerson
5f9aed1162 adjust_karma now increments properly 2013-03-23 00:51:00 -04:00
Matt Simerson
7eedea8754 added missing semicolon 2012-11-14 17:27:54 -05:00
Matt Simerson
477c5a6bdf karma: added adjust_karma method
makes it easier to set karma in plugins
2012-11-14 17:27:54 -05:00
Matt Simerson
37cc9c6d87 Plugin.pm: more descriptive variable names
append optional log_mess to log entry (more description)
subsequent attempts to set naughty don't overwrite the first
set the naughty rejection type to be the reject type of the plugin that marked the connection naughty
get_reject_type can be passed an explicit default
2012-06-22 18:14:44 -04:00
Matt Simerson
b00f4c7793 initial import - based on my qpsmtpd fork
which will merge into the main branch fairly easily
2012-06-22 05:38:01 -04:00