[Mailman-Users] Mailman + Htdig integration

Richard Barrett r.barrett at openinfo.co.uk
Thu Jul 24 11:29:27 CEST 2003


On Thursday, July 24, 2003, at 09:00 AM, Chinbaatar Anar wrote:

> Thank you, Richard
>
> Now our mailing list with Htdig working great.
>
> And we have about 40000 mail customers.
> They's addresses in our MySQL database server. If possible, I want to 
> all of
> these addresses subscribe to mailing list automatically.
> Is this possible?
> Any Idea?, any scripts?
>

With MM 2.1.2 there is a capability for integrating a database such as 
MySQL for membership management via the MemberAdaptor class defined in 
Mailman/MemberAdaptor.py

I have not gone with this sort of approach yet but it might be worth 
searching the mailman-users and mailman-developers list archives for 
posts on the topic if you are interested.

The "old-fashioned" way would be to extract your user list from the 
database and use the $prefix/bin/sync_members script, mayber do this 
using a cron script. How you implement this approach will depend on 
which is the "master" membership list, that held by Mailman or that 
held in the database. But thesync_members,ad_members, remove_members 
and list_members scripts give you the raw ability to manipulate list 
memberships.

Again check mailman list archives for posts on this topic.

> Thank you,
> Anar.Ch





More information about the Mailman-Users mailing list