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