CHANGES 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Changes since 0.8.3
  2. -------------------
  3. Changed include() calls to require_once() calls.
  4. Internationalization of the plugin.
  5. Changes since 0.8.2
  6. -------------------
  7. Added many new FREE anti-spam databases to lookup from.
  8. Removed ORBS since they're off the air.
  9. Changes since 0.8.1
  10. -------------------
  11. Added a SpamFilters_DNScache[] array that is useful for 2 reasons:
  12. 1. You can put in IPs in the cache that override the SPAMfilter's DNS
  13. checking routines -- either to force 'em to NOT filter email coming from
  14. a specific IP (ie. for those pesky customers who can't figure out how to
  15. make Exchange not be an open relay) or to force 'em to ALWAYS filter email
  16. coming from a specific IP (ie. for those pesky sites you KNOW are SPAM
  17. sources or relays but that aren't added to any of the DNS databases)
  18. 2. Before the SPAMfilters do a DNS query, they check to see if the IP in
  19. question is already in the cache. If not and the query is performed, the
  20. result is put in the DNS cache. This makes the SPAM filters a LOT faster
  21. when you get lots of email from various mailing lists (all coming from a
  22. very small number of IPs). The SPAM filters don't have to do a DNS query
  23. on every message coming from the squirrelmail-plugins mailing list -- only
  24. one the first time through to confirm the list server isn't in any of the
  25. DNS databases! :-)
  26. Changes since 0.8
  27. -------------------
  28. Just fixed the Bad or malformed FETCH error that occurred when the INBOX was
  29. empty. The spamfilter plugin did a FETCH query from MsgNum 1 to * and since
  30. there WAS no Msg Num 1 the IMAP server would respond with an error. Now I
  31. check the number of messages before calling spam_filters or user_filters
  32. Changes since 0.7
  33. --------------------
  34. Tyler made TONS of changes to incorporate the fixes I'd done and posted
  35. about, as well as to fix the problem with number of unread messages not
  36. showing up in the folder panel. He also added some code to scan the headers
  37. for specific IPs in order to scan only IPs on the previous hop in the
  38. header.
  39. This didn't work well for me (the IP of my gateway wasn't reported on the
  40. Received from ... by ... line, and so RSS and DUL still had tons of false
  41. hits. I munged it so instead it uses a single string provided at
  42. setup/install time to find the right line in the header to find the IPs to
  43. look for in the various databases. (see SpamFilters_YourHop in setup.php)
  44. This seems to work pretty well for me -- faster enough to turn on all the
  45. databases and zero (so far) false hits! (grin)
  46. I also found a bug in sqimap_read_data() in functions/imap_general.php.
  47. After much discussion with Tyler, I rewrote it and posted it to
  48. squirrelmail-devel but it hasn't been accepted/tested/blessed yet
  49. NOTE: THIS NEW VERSION OF sqimap_read_data() IS REQUIRED BY FILTERS 0.8
  50. so you'll have to edit functions/imap_general.php and replace the function
  51. with the contents of sqimap_read_data.php.
  52. As soon as either my version of sqimap_read_data is officially part of the
  53. SM 1.1.2 CVS or until a new working version is posted, this is the only way
  54. to guarantee filters 0.8 will work.