[spambayes-dev] trimming email addresses
Kenny Pitt
kennypitt at hotmail.com
Tue Jul 29 16:55:35 EDT 2003
Skip Montanaro wrote:
> It occurred to me yesterday that it might be worthwhile trimming email
> addresses which contain "+" signs. Most MTAs understand this notation and
> deliver such messages to the email address on the left of the "+". For
> example, Mailman 2.1 uses this. The email address in the Sender field of my
> spambayes mail is
>
> spambayes-bounces+skip=pobox.com at python.org
>
> A message to that address would go to spambayes-bounces at python.org where the
> "skip=python.org" part is extracted and treated as a parameter by the
> recipient (usually a program).
>
> It seems to me that the Spambayes tokenizer should only consider the
> "spambayes-bounces" part of the address. I don't think this will improve
> the tokenizer in the general case, but it does seem like the correct way to
> handle such addresses.
>
> [...]
If you do implement such an option, I would recommend not dropping the
parameter info entirely. Just add it as a separate psuedo-token such as:
sender:addr:+skip=pobox.com
--
Kenny Pitt
More information about the spambayes-dev
mailing list