1
Title: Lamson 0.9.1 Out, New Docs
3
I released Lamson 0.9.1 today so please "grab it and test it":/download.html and shoot me feedback.
5
The little changes are easier handling of attachments in MailRequest, a
6
small tweak to spam_filter, and then a bunch of test enhancements and extra
7
gear. The big change is a redesign to lamson.args so that it infers the
8
command line arguments from the lamson.commands function keyword arguments.
9
It's mostly an internal change since others can't write their own commands
15
I ran into a bunch of folks who didn't know that Lamson had built-in spam
16
filtering, so I wrote a document on "Filtering Spam With
17
Lamson":http://lamsonproject.org/docs/filtering_spam.html that tells you how
20
Lamson's spam filtering support is fairly simplistic, but still useful for
21
filtering crap out of your handlers. It's biggest problem is the current
22
implementation requires you to use the (barely documented) "SpamBayes"
23
command line tools for things like training.
25
I've got some instructions to get you started with the most important
26
SpamBayes command line tool you'll need for training.
31
Here's the log of what I did:
33
* Big code review, cleanup, and test boosting.
34
* Modified the MailRequest.body so that it works with attachments.
35
* Updated the OSB in preparation for a redesign to make it more interesting.
36
* Didn't like the name 'attachments' for getting what's really all the parts of a message.
37
* Implemented a method on MailRequest to return all of the attachments in a message reliably.
38
* Setup the muttrc to use env to find the lamson command.
39
* Updated the commands and utils so that it works with the new lamson.args setup.
40
* Refactored lamson.args to use inspect to figure out the required defaults of a command function, thus removing the need for a...
41
* Contributed change to muttrc so it uses lamson wherever it is installed, even virtualenv.