Commit Graph

3 Commits

Author SHA1 Message Date
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