wrong multigram behaviour

Werner Reisberger <[email protected]> Wed, 23 Feb 2005 07:48:10 +0100
Newsgroups gmane.mail.smartlist.user
Message-ID <[email protected]>
There is an odd behaviour with multigram which should be fixed.

If there is a subscribe request with the following header lines:

  From: [email protected]
  Subject: subscribe [email protected]

[email protected] will get subscribed if the match_treshold value is
above 29000, otherwise "[email protected]" will be subscribed
which is both buggy because [email protected] is a valid email address
according to rfc822 and the address in the subject line should take
precedence.

This behaviour is caused by a multigram call in the subscribe script
which should eliminate leading and tailing punctuation. There are other
vaild chars for the beginning of the local part which are affected.

The chars are defined in the following line in multigram.c.

   static const char tpunctuation[]="@\\/!#$%^&*-_=+|~`';:,.?{}";

I think this code has been introduced to be as user friendly and fuzzy
as possible and should be removed. If someone sends an invalid address
like "[email protected]" this address should be rejected instead of
trying to correct it.

A quick fix to avoid this wrong subscribing behaviour would be to remove
this multigram line from the subscribe script.

I am wondering if there is still someone responsible for bug fixes and
further development of smartlist/procmail?

 Werner