lp://staging/sspamm

Created by Sami-Pekka Hallikas and last modified

Full rewrite of 2.8/2.9 ... Main reason for rewrite is to get good version control, make source more readable.. and look for stupid mistakes :)

Get this branch:
bzr branch lp://staging/sspamm
Only Sami-Pekka Hallikas can upload to this branch. If you are Sami-Pekka Hallikas please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Sami-Pekka Hallikas
Project:
Semi's Spam Milter
Status:
Development

Recent revisions

16. By Sami-Pekka Hallikas

Minor bugfixes (mostly flagall and ignore)

15. By Sami-Pekka Hallikas

Some bugs in last revision

14. By Sami-Pekka Hallikas

    I bzr_log._N7w3w (Modified) Row 10 Col 1 0:17 Ctrl-K H for help
Added possibility to use filename variables in configuration:
 %h - short hostname
 %c - configuration file path
 %s - value in sspammdir variable
 %n - value in name variable

Now it it possibe to 'code' files like:
rrdfile: %c/%n-%h.rrd

13. By Sami-Pekka Hallikas

Configuration only

12. By Sami-Pekka Hallikas

- Handling missing rrdtool and DNS module
- Added 'break' for dyndns
- Fixed problems with missing/lowercase 'From' and/or 'To' headers
- Fixed 'var' saving
- Fixed logging when 'passed'
- Savedir is saved in sspammdir if not starting with /
- RRD file naming changed from sspamm.rrd -> sspamm-hostname.rrd
- Fixed .pid handling

11. By Sami-Pekka Hallikas

- More documentation in config file.
- More rules and examples, I'm running this config on real filtering system!
- Added 'offline' parameter for offline testing verbosity
- Lots of small changes

Now this filter is ready for production. I'm running this on ALL delivered
mails. Also I do run offline testings for all delivered mails and I try
create better configuration file for me. Even it is VERY heavily configured
for use in Finland, it should provide good sample what one can do with it.

10. By Sami-Pekka Hallikas

Added possibility to use different action for different RBL servers, like:
 (?#flag)cbl.abuseat.org

.. Will flag CBL Abuseat matches, even if default action would be block.

9. By Sami-Pekka Hallikas

- Started to make good blocking configuration file
- .conf search patch is: current dir, executable dir, /etc/sspamm and /etc
- 'connect' test is changed to recursive (helps me with .var testing)
- Wordscan is almost fully rewritten
- RBL check follows 'authmx/skip' rules in dyndns rules. So RBL can be skipped
- Added RBL 'timeout' handling. As couple retries and one second sleep between

... and few smaller bug fixes

8. By Sami-Pekka Hallikas

Again, lots of bug hunting and fixing.

Added 'big' features are:
 - RRD
   Keeps RRD database of messages, used to generate graphics
 - CRC
   Blocking by message body SHA1 cheksum. Save all SHA1 CRC's of messages.
   Expire from database last seen after >12h (configurable).
   Keeps CRC in file, so keeps database even on restart.
   If message is blocked or flagged 1 to 5 times in 'crc hours'. Flag it.
   If message is blocked or flagged > 5 times in 'crc hours', do 'crc action'.

7. By Sami-Pekka Hallikas

More modifications, most important feature is test mode. Saved .var files
can be runned with filter just by doing:

'./sspamm.py test save-dir/filename.var'

... Filter SHOULD be ready for online filtering. Some features are not implemented yet, like 'wordscan' or html filtering.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.