Commit Graph

12 Commits

Author SHA1 Message Date
Matt Simerson
1a7f2c26a5 Merge branch 'master' of github.com:msimerson/qpsmtpd-dev 2013-03-23 01:13:34 -04:00
Matt Simerson
d37f875992 dspam: be more conservative with karma awards
previous settings were reasonable for a well trained dspam. After starting with a fresh dspam, the settings were not optimal for the amount of naive that a default dspam is.
2013-03-23 01:07:01 -04:00
Matt Simerson
537af7c095 dspam: added use lib, removed some parens 2013-03-15 22:12:50 -07:00
Matt Simerson
4a745d6baf updated more split '' syntax to split // 2012-11-20 01:40:57 -05:00
Matt Simerson
37cb63c6f7 dspam: improve logging and config error reporting 2012-11-19 00:43:12 -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
3127f4d4c5 dspam: better error message if dspam_bin is not found 2012-11-14 17:27:54 -05:00
Matt Simerson
ee7121d1ce dspam: added missing return 2012-06-27 14:47:02 -07:00
Matt Simerson
98228cd38c dspam: check for dspam_bin during register 2012-06-27 14:42:34 -07:00
Matt Simerson
60470d20a4 dspam: fixes for training dspam
process_backticks now writes the entire message (headers + body) to a temp file and had dspam read that. Previously, dspam only read the body.  With the new "process, then train on error" method, dspam didn't have access to the DSPAM signature (in the headers).

replaced open2 with open3. Same results. Works part of the time, but not consistent, and I haven't been able to figure out why.

dspam transaction note is now a hashref (was a string)
parsing of dspam response via substring (was regexp)
2012-06-25 02:51:36 -04:00
Matt Simerson
3db3565144 dspam: changed to only train on error
per suggestions by the dspam author
2012-06-22 23:44:55 -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