PATCH to ignore uuencoded attachments

David Relson relson at osagesoftware.com
Sat Nov 27 02:28:31 CET 2004


On Sat, 27 Nov 2004 02:18:06 +0100
Matthias Andree wrote:

...[snip]...

> Use this instead of the TOKEN and money stuff:
> 
> <UUENCODED>^[!-M][ -`]+                            ; /* ignore */
> <UUENCODED>^[ `]$                                  { BEGIN TEXT; }
> 
> Easier and faster.

However, there's a problem.  It doesn't work :-<  

Try both sets of code (yours and mine) in lexer_v3.l, run 

   bogolexer -p  < msg.begin.666.txt

and look at the output.  My funky code (with TOKEN and NUM) does better
than your elegant code.




More information about the bogofilter-dev mailing list