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