CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • New module integration with mailman
Pages: [1]

Author Topic: New module integration with mailman  (Read 1206 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
New module integration with mailman
June 17, 2010, 02:12:18 am
Hi,

There a some bits of code here and there to integrate civicrm and mailman and we are getting inspired by them, but need something more complete/complex.

The general idea is that some groups are mailing lists on mailman, and everytime a contact is added/removed to the group, it's sync to mailman. We have a parent group "mailman sync", everyone of the group below is synchronised.

In more detail:

1) A tool to import loads of contacts (a shell) as exported from mailman. We have a test mode, to be able to detect when two contacts have the same email (as we have only the emails out of mailman, we don't know which one to associate), and provide an easy report with direct links to the merge functions to ease the transfer.

2) a hook that flag when the list needs to be generated and synchronised with mailman

3) a shell on cron that checks on a regular basis if there is a list to regenerate

4) a shell that import that on mailman (that might be on a different server).

Right now, that's probably quite specific for our needs, but shouldn't take too long (read: you can afford to sponsor it ;) to make it more generic.

Would it be useful for you ?
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Andrew Perry

  • I post occasionally
  • **
  • Posts: 98
  • Karma: 1
  • Building empowering tools that comply with rules
    • Community Builders Australia
  • CiviCRM version: 3.x, 4.x
  • CMS version: Joomla 1.0.x, 1.5.x -> Drupal 6.x, 7.x, WordPress
  • MySQL version: 5.1, 5.5, 5.6
  • PHP version: 5.2, 5.3, 5.4
Re: New module integration with mailman
August 13, 2010, 03:08:22 pm
Hi Xavier

Good timing for a discussion of this.

We have a client we are currently putting a proposal together for, which involves mailman integration.

It would be great to discuss how we could help sponsor the generalisation of your existing code for release to the wild!

Feel free to PM or email me.
Community Builders Australia Pty Ltd
www.communitybuilders.com.au

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: New module integration with mailman
August 30, 2010, 12:21:05 am
Hi,

The least annoying issue was solved on the latest version of civi (the name of the group was changed).

What we have is a system on drupal/civicrm that have a group "mailman", and all the subgroups are synchronised below (eg team, board, members...).

We sync every few minutes with mailman, if there has been a change in one of these groups (we do that in batch to avoid performance issues).

Right now some stuff is hardcoded, we can probably in 8 hours make is "generic hardcoded"+documentation.

I am not sure about the option of being able to choose for each group if it's a mailing list (as you do for ACL or mailing list), we didn't want to go down that road, to avoid having to change the schema.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

adixon

  • I post frequently
  • ***
  • Posts: 314
  • Karma: 19
    • Blackfly Solutions
Re: New module integration with mailman
August 30, 2010, 06:15:42 am
There are quite a few organic group - mailman integration modules for drupal, so if you use the civicrm-og integration module, you might find what you need already done. I was responsible for a mailing list integration module and I'd provide the unsolicited warning and advice that it gets complicated. The complications arise because you have integration for content, membership, and administration, and each of those gets progressively icckier. You can make some compromises (e.g. allow separate administration for lists and groups), but syncing can then leave lots of questions. I found the key question to ask is: which system is authoritative for which list/setting.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • New module integration with mailman

This forum was archived on 2017-11-26.