Menu

Tree [81e548] master /
 History

HTTPS access


File Date Author Commit
 FileMemberships.py 2012-07-02 Viktor Dick Viktor Dick [7ad7e9] first version
 LICENSE 2012-07-02 Viktor Dick Viktor Dick [7ad7e9] first version
 LdapSync.py 2012-08-02 Viktor Dick Viktor Dick [81e548] add support for client authentication
 README 2012-07-02 Viktor Dick Viktor Dick [7ad7e9] first version
 example.py 2012-08-02 Viktor Dick Viktor Dick [81e548] add support for client authentication
 extend.py 2012-07-02 Viktor Dick Viktor Dick [7ad7e9] first version

Read Me

These scripts sync mailman mailing lists with an ldap server.

To install, put the files in the following folders:
FileMemberships.py --> /usr/lib/mailman/Mailman
extend.py --> /var/lib/mailman/lists
LdapSync.py --> /usr/local/lib/python2.6/dist-packages (or anywhere else in sys.path)
example.py --> /etc/cron.hourly

but first you should change the settings in example.py.
Also, postfix (or any other MTA) should know that /etc/mailman/aliases and /etc/postfix/uid-aliases are aliases files.

Caution: any lists that are not defined in LDAP (including the system "mailman" list) are deleted. A future version might instead save the listnames in a file and delete only those which were present the last time the script was called.

Of course any of this comes without any warranty. (see LICENSE)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.