[Mailman-Users] feedback when users are unsubscribed for bounces
Jim Popovitch
jimpop at gmail.com
Tue Sep 17 20:10:32 CEST 2013
On Tue, Sep 17, 2013 at 1:42 PM, Mark Sapiro <mark at 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.
More information about the Mailman-Users
mailing list