sendmail milters and python
Wow - it’s been a while since I have said anything.
Moving on - I have been doing some stuff at work with python and the senmail mail filter API (called milters).. I have created a milter that examines email messages and strips off dangerous attachments (exe, pif, scr - the stuff of viruses), inserts a warning into messages with zip attachments and does some basic spam tagging. It’s a very flexible way of filtering mail. Adding new features should be pretty easy.
cw