Update of /cvsroot/mailman/mailman/Mailman
In directory usw-pr-cvs1:/tmp/cvs-serv23369/Mailman
Modified Files:
MailList.py
Log Message:
GetAdminEmail() eradication campaign.
GetBouncesEmail(): Return the list's -bounces address.
GetAdminEmail(): Obsolete, removed.
AddMember(), ChangeMemberAddress(), ConfirmUnsubscription(): Make the
notification email appear to come from the -bounces address. When the
sender is for human consumption, make it the -owner address (or in the
case of Cleanse.py for anonymous lists, the list posting address).
Index: MailList.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/MailList.py,v
retrieving revision 2.65
retrieving revision 2.66
diff -C2 -d -r2.65 -r2.66
*** MailList.py 15 Mar 2002 03:44:15 -0000 2.65
--- MailList.py 26 Mar 2002 21:10:02 -0000 2.66
***************
*** 174,179 ****
# For backwards compatibility
! def GetAdminEmail(self):
! return self.getListAddress('admin')
def GetOwnerEmail(self):
--- 174,179 ----
# For backwards compatibility
! def GetBouncesEmail(self):
! return self.getListAddress('bounces')
def GetOwnerEmail(self):
***************
*** 729,733 ****
'requestaddr' : self.GetRequestEmail(),
'remote' : remote,
! 'listadmin' : self.GetAdminEmail(),
'confirmurl' : confirmurl,
}, lang=lang, mlist=self)
--- 729,733 ----
'requestaddr' : self.GetRequestEmail(),
'remote' : remote,
! 'listadmin' : self.GetOwnerEmail(),
'confirmurl' : confirmurl,
}, lang=lang, mlist=self)
***************
*** 809,813 ****
self.SendSubscribeAck(email, self.getMemberPassword(email), digest)
if admin_notif:
- adminaddr = self.GetAdminEmail()
realname = self.real_name
subject = _('%(realname)s subscription notification')
--- 809,812 ----
***************
*** 918,922 ****
'requestaddr': self.GetRequestEmail(),
'remote' : '',
! 'listadmin' : self.GetAdminEmail(),
'confirmurl' : confirmurl,
}, lang=lang, mlist=self)
--- 917,921 ----
'requestaddr': self.GetRequestEmail(),
'remote' : '',
! 'listadmin' : self.GetOwnerEmail(),
'confirmurl' : confirmurl,
}, lang=lang, mlist=self)
***************
*** 1080,1084 ****
'requestaddr' : self.GetRequestEmail(),
'remote' : remote,
! 'listadmin' : self.GetAdminEmail(),
'confirmurl' : confirmurl,
}, lang=lang, mlist=self)
--- 1079,1083 ----
'requestaddr' : self.GetRequestEmail(),
'remote' : remote,
! 'listadmin' : self.GetOwnerEmail(),
'confirmurl' : confirmurl,
}, lang=lang, mlist=self)
_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-checkins