Submitted by : 127.0.0.1 at: 2004-05-17T15:00:49+00:00 (13 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Using zope 2.7.0, zwiki 0.30.0, and plone 2.0rc6 mailin rejects messages to subscribed users when 'mailin_policy' is set to 'subscribers'. People who subscribe via Plone only have their usernames added to the 'subscriber_list' property for zwiki folders and pages. The methods 'isSubscriber' and 'allSubscriptionsFor' in 'Mail.py' (as called via 'mailin.py') do not translate the usernames in 'subscribers_list' to email addresses for comparison with the incoming messages captured via mailin.

The diff of a possible fix is shown below:

diff Mail.py.orig Mail.py
195c195
<                 if ((email and (string.lower(sub) == email)) or
---
>                 if ((email and (self.emailAddressFrom(sub) == email)) or
319c319
<                     if ((email and (string.lower(sub) == email)) or
---
>                     if ((email and (self.emailAddressFrom(sub) == email)) or