Kolab::DirServ - A Perl Module that handles Address book synchronisation between Kolab servers.
use Kolab::DirServ;use Net::LDAP::Entry;
#send notification of a new mailbox$entry = Net::LDAP::Entry->new(...);¬ify_new_alias( $entry );
#handle updates recieved&handle_notifications( "address", "IMAP User", "User Password" );
The Kolab::DirServ module provides a mechanism for Kolab servers topublish address book data to a list of peers. These peers recievenotification of new, updated and removed mailboxes and update theiraddress books accordingly.
The Kolab::DirServ module recieves Net::LDAP::Entry entries, converts them to LDIF format and sends them to a list of mailboxes in LDIF format. The list of peers and other configuration parameters is provided through the Kolab::DirServ::Config module.
EXPORT
¬ify_new_alias( $entry )
Recieves a Net::LDAP::Entry object.Send a new alias notification to each of the address book peers ina LDIF MIME attachment.
¬ify_remove_alias( $entry )
Recieves a Net::LDAP::Entry object.Send a notification to each of the address book peers to remove anentry from their address books.
¬ify_modify_alias( $entry )
Recieves a Net::LDAP::Entry object.Send updated information to each of the address book peers. Eachpeer then updates the corresponding address book entry with theupdated information.
&handle_notifications( $server, $user, $password )
Connects to specified IMAP server and retrieves all messages fromthe specified mailbox. The messages are cleared from the mailboxafter they are handled. This process runs periodically on a peer.
kolab-devel mailing list: <[email protected]> Kolab website: http://kolab.kroupware.org Stephan Buys, [email protected] Please report any bugs, or post any suggestions, to the kolab-devel mailing list <[email protected]>. Copyright 2003 by Stephan Buys This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.