VERP - Variable Envelope Return Path

David Relson relson at osagesoftware.com
Thu Sep 25 16:36:39 CEST 2003


Greetings,

Yesterday I discovered my wordlist has a large number of singleton
tokens of the form "bogofilter-return-586-relson" and learned that
they're called VERPs.  After a google search, and some reading, I'm now
an expert --- Not!!!

As an experiment I added the following lines to bogofilter's lexer:

	VERP		{TOKEN}-[0-9]+-{TOKEN}={TOKEN}@{TOKEN}
	<INITIAL>{VERP} { skip_to('='); return VERP; }

With a little bit of additional code, the following header lines:

	From bogofilter-return-586-relson=example.com at aotto.com  Fri Nov  1
07:42:39 2002
	Return-Path: <bogofilter-return-586-relson=example.com at aotto.com>

could yield token "verp:bogofilter-return-X-relson" (as well as other
tokens).  This would change the non-recurring single use tokens into a
repeated, recognized token that contributes to the spam/ham score.

Anybody have a better idea, alternate approach, or reasons for/against
making this change?

David




More information about the Bogofilter mailing list