Go to content Go to menu Go to search

oldspeak

mutt 1.5.20 and bogofilter 1.2.1: Correcting the Classification Macros

A few recent local changes included a restructuring of inbound mail delivery to include UCE (more frequently called spam) filtering using a combination of the venerable procmail and the increasingly impressive bogofilter.

It should have been simple, but then the problems started…

getmail 4.8.4 with python 2.6: deprecated imports

A recent upgrade to python 2.6 left a getmail cron job spewing warnings about a deprecated import of the sets module:

DeprecationWarning: the sets module is deprecated

Since python 2.4 the functionality of this module has been duplicated by built-in functions; a quick conversion is all that is required to quieten the new warnings. The patch is available here for those with a similar problem:

getmail-4.8.4-python-2.6.patch

No problems with it here so far, please leave a comment if you use the patch and find any.


© no rights reserved