Synchronising Mailman on clustered ISPConfig servers

Discussion in 'HOWTO-Related Questions' started by rodti, Jul 17, 2012.

  1. rodti

    rodti Member

    I've followed the Installing A Web, Email & MySQL Database Cluster On Debian 6.0 With ISPConfig 3
    how-to and have a couple of ISPConfig servers running happily together.

    The configurations are identical, and as per the tutorial the ISPConfig databases are mirrored, and mail and web data is synchronised between /var/www and /var/vmail using Unison.

    My concern is that while ISPConfig allows the creation of mailing lists via Mailman that these aren't synchronised between servers.

    A few questions spring to mind:

    1) If a mailing list is set up on one server via ISPConfig, this config change will be mirrored to the other server. Will the other server set up the list when the ISPConfig cron job runs?

    2) There is presumably no issue in adding /var/lib/mailman to the list of Unison sync folders so that the archives and list data is copied to the mirror server. Or is there?

    3) If two Mailman instances are running for the same list, synchronised regularly, is there a danger in having Mailman running on both machines? Could it cause some sort of cosmic singularity?

    This also seems like something that should maybe be in the how-to itself, as the mailing lists are part of ISPConfig's functionality and pretty much everything else seems to be adequately covered in the how-to as it stands.
    Last edited: Jul 17, 2012
  2. rodti

    rodti Member

    Well I've been running this for a few days now and syncing /var/lib/mailman seems to work. Both Mailman daemons are kept running and only one copy of all list emails seem to be going out.
    dmgeurts likes this.

Share This Page