e762423de14ff363f86278a78c77048a533a6690
[squirrelmail.git] / plugins / filters / CHANGES
1 Changes since 0.8.3
2 -------------------
3 Just changed include() calls to require_once() calls.
4
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
10 Changes since 0.8.1
11 -------------------
12 Added a SpamFilters_DNScache[] array that is useful for 2 reasons:
13
14 1. 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
21 2. 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
30 Changes since 0.8
31 -------------------
32 Just fixed the Bad or malformed FETCH error that occurred when the INBOX was
33 empty. The spamfilter plugin did a FETCH query from MsgNum 1 to * and since
34 there WAS no Msg Num 1 the IMAP server would respond with an error. Now I
35 check the number of messages before calling spam_filters or user_filters
36
37 Changes since 0.7
38 --------------------
39 Tyler made TONS of changes to incorporate the fixes I'd done and posted
40 about, as well as to fix the problem with number of unread messages not
41 showing up in the folder panel. He also added some code to scan the headers
42 for specific IPs in order to scan only IPs on the previous hop in the
43 header.
44
45 This didn't work well for me (the IP of my gateway wasn't reported on the
46 Received from ... by ... line, and so RSS and DUL still had tons of false
47 hits. I munged it so instead it uses a single string provided at
48 setup/install time to find the right line in the header to find the IPs to
49 look for in the various databases. (see SpamFilters_YourHop in setup.php)
50 This seems to work pretty well for me -- faster enough to turn on all the
51 databases and zero (so far) false hits! (grin)
52
53 I also found a bug in sqimap_read_data() in functions/imap_general.php.
54 After much discussion with Tyler, I rewrote it and posted it to
55 squirrelmail-devel but it hasn't been accepted/tested/blessed yet
56 NOTE: THIS NEW VERSION OF sqimap_read_data() IS REQUIRED BY FILTERS 0.8
57 so you'll have to edit functions/imap_general.php and replace the function
58 with the contents of sqimap_read_data.php.
59
60 As soon as either my version of sqimap_read_data is officially part of the
61 SM 1.1.2 CVS or until a new working version is posted, this is the only way
62 to guarantee filters 0.8 will work.
63