From: Dennis F. <de...@co...> - 2002-07-04 05:21:20
|
----- Original Message ----- From: "Dennis Fleurbaaij" <de...@co...> To: "Dave Cridland" <da...@cr...> Sent: Thursday, July 04, 2002 7:20 AM Subject: Re: [Core-lan-org-devel] hello? are the maintainers reading thislist? > Hi Dave, > > Sure sounds good. If you can code this we atleast have a set of options. > > 1) Mailman > 2) Direct email > 3) qmail's mailinglist software ? > > So that would be very cool. We can implement that in every module. > > Dennis > > > ----- Original Message ----- > From: "Dave Cridland" <da...@cr...> > To: "Dennis Fleurbaaij" <de...@co...> > Cc: <cor...@li...> > Sent: Wednesday, July 03, 2002 11:39 PM > Subject: Re: [Core-lan-org-devel] hello? are the maintainers reading > thislist? > > > > On Wed, 2002-07-03 at 22:00, Dennis Fleurbaaij wrote: > > > > the sort of "obvious" thing to me was that folks in the usergroup get > mail > > > when you changes get made and the "send to mailing list" box is checked, > but > > > there is only one mailing list, the global one. > > > > > > > > comments? > > > > > > Um, good point. As I've never needed this I've also never thought about > it > > > very much. It really makes sense but I think that mailing all the group > > > members would be preferred above maintaining loads of mailinglists. Any > > > comment on this would be very welcome! > > > > Ah... I might have some PHP code knocking about that'll control a > > mailman setup, if you're lucky. Let me have a scout about. > > > > Quick scout about, and no code ready, but I think I can give you a > > working set of functions to do it. > > > > The only gotcha is changing the aliases in the system MTA. I could put > > together a setuid perl script to do that, though the world seems divided > > on whether that's safe. I think they're safe enough, everyone else > > disagrees. A lesser gotcha is figuring out what MTA is actually in use > > on the system - lesser because that's install-time and we can really > > take our time on that. > > > > The member addition and removal is very easy, though. (Famous last > > words). > > > > I'll knock a PHP includable together. Dennis, you'd want functional > > interface, right? > > > > I'm thinking: > > > > function mailman_create_list( $listname, $admin_user_email_address, > > $management_key = 'something random' ); > > > > // Creates the list, invents a random key if one hasn't been supplied. > > The key's used for remote management, but we bypass it all the time > > anyway. > > > > function mailman_remove_list( $listname ); > > > > // Removes the list. > > > > function mailman_list_add_user( $listname, $email, $quiet = true ); > > > > // Adds $email to list. $email could be either a single email address > > (string) or an array of them. If $quiet, we suppress the welcome message > > you normally get on joining. > > > > function mailman_list_remove_user( $listname, $email ); > > > > // Drops the user(s) from the list. > > > > I can knock that up easily enough in a day. > > > > Dave. > > > > > |