[Mailman-Users] No passwords for members?
Barry A. Warsaw
bwarsaw at cnri.reston.va.us
Sat Mar 20 23:14:15 CET 1999
>>>>> "CL" == Christopher Lindsey <lindsey at ncsa.uiuc.edu> writes:
CL> I could've sworn that this was addressed on the list already,
CL> but I can't seem to find the message about it... So here I go
CL> (again?)
CL> Anyhow, I recently converted a SmartList list to Mailman via
CL> the add_members script, but now I'm getting this error message
CL> for all of the users who try accessing their password:
CL> Mailman noticed in .MailUserPassword() that:
| User: 'xxxxxxxxxx at aol.com'
| List: rose-list
CL> lacks a password. Please notify the Mailman system manager
CL> at this site!
CL> So what can I do about it? There's no option to
CL> default/recreate a password for the user... Do I need to go
CL> through and manually subscribe each person <shudder>...
CL> The other interesting that I noticed is that some of the
CL> addresses had the 'plain' option unchecked, regardless of
CL> whether or not they were receiving mail in digest form.
The user probably has a password, so you shouldn't need to recreate
one. There was a bug in 1.0b9 that caused this error message to occur
when the case-preserved user's address had upper case letters in it.
This will be fixed in the next release. A patch against 1.0b9 is
attached.
-Barry
Index: Deliverer.py
===================================================================
RCS file: /projects/cvsroot/mailman/Mailman/Deliverer.py,v
retrieving revision 1.50
retrieving revision 1.53
diff -c -r1.50 -r1.53
*** Deliverer.py 1999/01/13 23:53:16 1.50
--- Deliverer.py 1999/03/09 02:24:03 1.53
***************
*** 247,253 ****
def MailUserPassword(self, user):
listfullname = '%s@%s' % (self.real_name, self.host_name)
ok = 1
! if self.passwords.has_key(user):
recipient = self.GetMemberAdminEmail(user)
subj = '%s maillist reminder\n' % listfullname
# get the text from the template
--- 245,255 ----
def MailUserPassword(self, user):
listfullname = '%s@%s' % (self.real_name, self.host_name)
ok = 1
! # find the case-preserved version of the user's address
! cpuser = self.members.get(self.FindUser(user))
! if type(cpuser) == type(''):
! user = cpuser
! if user and self.passwords.has_key(user):
recipient = self.GetMemberAdminEmail(user)
subj = '%s maillist reminder\n' % listfullname
# get the text from the template
More information about the Mailman-Users
mailing list