Introducing ListSync
A list synchronization manager utilizing the DreamHost API.
ListSync is a utility designed to keep your DreamHost announcement mailing lists synchronized with a database of clients. The utility works by performing a database querying based on the parameters you provide, and comparing the generated list to the current list of subscribers. If there are subscribers that are not in the database, they are removed; if there are emails in the database that are not current subscribers, they are added.
Features
- Can manage multiple announcement mailing lists at once, each configured to update from its own table and column(s).
- Works using Perl's DBI package, so it can work with any database that has a Perl DBD module.
- Can operate in a "daemon" mode, where the manager runs in the background and checks each announcement list every few minutes.
ListSync is designed to run in Linux and other Unix-like environments. It could be made to run under Windows with minimal modifications (removing the daemon feature).
Perl Module Dependencies
- LWP - Used to query the DreamHost API.
- DBI - Used to communicate with the database.
- GetOpt::Long - Used to process command-line parameters.
- Data::UUID - Used to generate UUIDs for use in API queries.
- POSIX - Used when operating in daemon mode.
These modules are all very standard and should be installed as part of a basic Perl installation. You will furthermore need a database-specific DBD module and driver pair for your database server of choice, which should be installed as part of your database package.
Installation
Feedback
Please email listsync@possibilitiessoftware.com with any questions, comments, feature requests, or other feedback.