[Mailman-Users] Script to check address subscription status

Jim Tittsler jwt at OnJapan.net
Thu Oct 28 07:20:04 CEST 2004

On Wed, Oct 27, 2004 at 02:38:48PM +0200, Florian Weimer wrote:
> Is there some script to check for subscription status (or, more
> precisely, the permission to post)?  find_member is almost what I
> need, but it uses a regular expression, doesn't check just a specified
> mailing list, and doesn't look at the additional poster list.

bin/find_member can be restricted to a single list with the
--listname switch.  And a regular expression is just a general
case of a fixed string search.  :-)  But checking the internal
accept_these_nonmembers, reject_these_nonmembers, and
discard_these_nonmembers lists does take a new script.

You could duplicate the logic in Handlers/Moderate.py to build
a script that tested for posting rights and returned a result
code that you could test in your MTA.

Jim Tittsler             http://www.OnJapan.net/      GPG: 0x01159DB6
Python Starship          http://Starship.Python.net/
Ringo MUG Tokyo          http://www.ringo.net/rss.html

More information about the Mailman-Users mailing list