Matt Simerson
a6b563a40c
tested and working Authentication-Results
...
changed the method of saving results. Instead of appending to/from a header, plugins save results to a connection note.
Qpsmtpd::SMTP.pm has a new method that inserts the Authentication-Results header
The smtp-auth information has been removed from the Received header
Authentication-Results providing plugins have been updated to store results in connection note
2013-05-02 03:30:48 -04:00
Matt Simerson
3973f9ae80
added Authentication-Results header, with provider
...
dkim, dmarc, fcrdns (iprev), spf, and smtp-auth
2013-05-01 00:35:49 -07:00
Matt Simerson
55388248e4
store envelope from and to in connection notes
2013-04-29 23:50:18 -04:00
Matt Simerson
9c095ab278
is_naughty is a setter now too
2013-04-29 23:49:22 -04:00
Matt Simerson
5eab739359
SMTP.pm: reduce auth details from Received header.
...
based on patch from Devin Carraway
http://www.nntp.perl.org/group/perl.qpsmtpd/2012/08/msg9954.html
2013-04-26 03:35:02 -04:00
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