[imapfilter-devel]Spam Filtering with IMAPFilter
Matej Cepl
matej at ceplovi.cz
Thu Dec 12 21:12:01 EET 2002
Julian Hsiao wrote:
> I'm looking for a way to use IMAPFilter for spam filtering. Creating
> numerous rules checking for certain keywords is tedious and ineffective.
> Perhpas there should be a new command where IMAPFilter will pass the
> content of messages to an external agent (such as bogofilter), and filter
> accordingly depending on its response.
However, then you loose the biggest advantage of imapfilter --
which is that it works on server without downloading whole
messages. What you would like to do (and what I do) is to
download everything to the local mailbox, process it with
bogofilter (or spamassassin) and then sync the local mailbox with
remote one (using isync in my case). Do not waste your time on
building complicated rules, except for really simple ones like:
filter korejci or
mask header Content-Type euc-kr
mask header Content-Type gb2312
mask header Content-Type ks_c_5601-1987
mask subject ScanMail
action delete Subject
(korejci means ``Koreans'' in Czech).
Matej
--
Matej Cepl, matej at ceplovi.cz,
Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
If Patrick Henry thought that taxation without representation was
bad, he should see how bad it is with representation.
More information about the Imapfilter-devel
mailing list