On Tue, Sep 17, 2013 at 1:42 PM, Mark Sapiro <m...@msapiro.net> wrote: > On 09/17/2013 09:39 AM, Perry E. Metzger wrote: >> Is there any easy way to get the "x has unsubscribed" messages to >> distinguish when people are removed due to bounces from when they >> leave a list of their own accord? >> > > > If the time stamp on the message is the time that cron/disabled runs > (default 09:00 server local time), it was probably due to bounce processing. > > Other than that, the entry in the subscribe log will contain the > notation 'disabled address', and you could modify the > ApprovedDeleteMember method in $prefix/Mailman/MailList.py to put this > notation in the notice to the admin.
Here's an archived 2.1x patch that I had that does this: === modified file 'Mailman/MailList.py' --- Mailman/MailList.py 2012-06-20 23:32:30 +0000 +++ Mailman/MailList.py 2013-03-14 04:05:31 +0000 @@ -1020,6 +1022,8 @@ {"listname" : realname, "member" : formataddr((name, email)), }, mlist=self) + if whence: + text = "%s\nReason: %s" % (text, whence) msg = Message.OwnerNotification(self, subject, text) msg.send(self) @@ -1055,6 +1059,8 @@ {'member' : name, 'listname': self.real_name, }, mlist=self) + if whence: + text = "%s\nReason: %s" % (text, whence) msg = Message.OwnerNotification(self, subject, text) msg.send(self) if whence: -Jim P. ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org