Download & Extend

Strange behaviour with emails containing the + char

Project:User mailman register
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I have mailman and drupal on the same server. When I subscribe someone to a list through drupal, it subscribes them (verified through web interface) but the radio button under "subscribe to test list?" remains set to "No."

In fact, if I visit the UMR tab in user profiles, it sets the status in view to "unsubscribed"

Also, when a user changes his email address, it only adds the new email address, but doesn't remove the old one.

Comments

#1

Is the list "Mailman version" option correctly configured?

#2

Also be aware that subscription status is cached according to the "Mailman connection interval" global option.
I suggest you to set it to 0 until the UMR module is correctly working for your mailman configuration.

#3

I am using mailman 2.1.9-8.2.fc8 , and my list is set to 2.1.9 or prior

I have Mailman connection interval: set to 0

Any other ideas?

#4

It seems a problem in the html parsing .
When you change a user email, is the drupal message about the old email unsubscribiption displayed (there should be also onother for the sucessfully new email subscription) ?
Nothing change if the "2.1.10 or later" option is on?
Could you send me, with a copy/paste in http://drupal.org/user/136997/contact, the html source of the mailman users page with at least one user listed?

#5

I sent you two emails:

1) The source from the view tab from the user's page after I susbscribed them to the list called "testlist." It says "Subscribe for all mail (normal delivery)" as expected

2) The source from the view tab from the user's page after clicked on the UMR "Mailing List Subscriptions" tab and then clicked back to view (without hitting submit or anything). It says under testlist "Unsubscribed"

I checked my database table "mailman_users" and the "lstatus" column is changed from 3 to 0 just by visiting the UMR page for that user ... not by clicking submit or anything.

I'm happy to give you full access to my site to problem solve this. Just email me and we can set that up.

#6

This is temporarily solved. The problem arose because I was using email addresses of the form "mygmailaddress+something@gmail.com" to test out the system, and UMR does not work (yet) with email addresses containing a "+". This will be fixed shortly and I will try to post when it is fixed. Please leave this open until it's fixed.

#7

Title:Subscribed users remain listed as unsubscribed» Strange behaviour with emails containing the + char

#8

Status:active» needs review

Please try this patch (currently tested in mailman version 2.1.12)

AttachmentSize
umr_escape_pattern.patch 1.36 KB

#9

Patch appears to be working perfectly (at least for + signs) in 2.1.9

Thanks!

#10

Status:needs review» fixed

Applied in dev. Just a note: it should work for every special char.

#11

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.