28 Jan 2004 lupus   » (Master)

DV: the following javascript snippet may be of help dealing with spam to mailman-managed lists. It needs spamassasin to mark messages first, but it can be easily adjusted to look for different patterns in the header or in the body. The spam level that triggers automatic rejection can be adjusted as well: the current value works well enough for me.
javascript:for(i=0;i<document.forms[0].length;i++){
        if (document.forms[0][i].value=='3') {
                var name = "headers-" + document.forms[0][i].name;
                var headers = document.forms[0][name].value;
                if (headers.indexOf ("X-Spam-Level: ********") != -1) {
                        void(document.forms[0][i].checked=true)
                }
        }
}

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!