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
4a745d6baf
updated more split '' syntax to split //
2012-11-20 01:40:57 -05:00
Matt Simerson
df577ff3fe
replace all instances of split '' with split //
...
newer versions of perl don't accept split '' syntax any longer
2012-11-19 12:32:21 -05:00
Matt Simerson
4f181c5153
SMTP.pm: fixed invalid operator
...
which produced this warning:
Useless use of string eq in void context at lib/Qpsmtpd/SMTP.pm line 639.
2012-11-14 17:37:38 -05:00
Matt Simerson
61f7ea00e0
TcpServer, improve IPv6 support, by Michael Holzt
2012-11-14 17:29:46 -05:00
Matt Simerson
df715db16b
allow messages with no body: Robin's patch
...
This is Robin's patch from here: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/mail-mta/qpsmtpd/files/qpsmtpd-0.83-accept-empty-email.patch?view=markup
2012-11-14 17:27:55 -05: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
6654ff0150
TcpServer: assign default value during declaration
2012-06-23 23:04:50 -04:00
Matt Simerson
98c5487518
SMTP.pm: test if unrec cmd is set (suppress warning)
...
and decrease log message priority in rcpt_response
2012-06-23 00:18:40 -04:00
Matt Simerson
feab782a0a
Transaction.pm: added debugging messages for DESTROY
2012-06-22 18:16:43 -04: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