All,
I need to call an external script whenever a mailing list's membership changes. I'd
like to pass the name of the modified list to my script.
I've spent some time studying the Mailman source, and I think the file I need to
modify is ~mailman/Mailman/MailList.py. I think the functions that need to be
modified are functions ApprovedAddMember, ApprovedDeleteMember, and
ChangeMemberAddress.
Here are the two lines that I'd like to add to the above functions:
metacmd= '~mailman/scripts/my-script.pl' + ' ' + self
os.system(metacmd)
Does this look correct?
I'm using Mailman 2.1.2 in Linux.
Thanks,
Wes
----------
Wes Perdue
IT Manager, Greenfield Networks
------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org