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

------------------------------------------------------
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/

Reply via email to