I've uploaded a new version of courier-pythonfilter to: http://phantom.dragonsdawn.net/~gordon/courier-patches/courier-pythonfilter/
The most significant addition was a set of functions which will add or remove (by marking complete) addresses in the control files. This might allow filter authors to do interesting things like alternate alias expansion. One new filter exploits these functions to remove "success" DSNs from messages. We get a number of messages from spammers that request such DSNs, but the return address is invalid, so they back up in the queue. By removing them, I hope to increase the privacy of our domain as well as cure that annoyance.
Some bugs have been fixed: the permissions on the socket are explicitly set so that command line sendmail works, and the arguments to anydbm.open() have been corrected.
Filters are now loaded based on a configuration file (/etc/pythonfilter.conf) rather than loading all of the filters in the filter directory. This way, all filters can be distributed, and the setup script doesn't need any extra args.
The code was reformatted according to Python standards, and dofilter was renamed doFilter. Sue me for being capricious.
All functions in the control module now take the controlFileList argument directly to make the interface consistent.
The dialback module still doesn't work, but I think I know why now, and may be able to fix it sometime relatively soon.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
