Slashdot Mirror


Using Perl to Automate Exchange 2000 Tasks?

en4ca asks: "We have recently started using Exchange 2000 on a W2k platform with Active Directory at work. Previously, we used a mailsystem that could be easily controlled by command-line paramaters (and hence by perl). What I wanted to ask was, has anyone used perl to automate boring, mundane tasks in Exchange like mass creating mailboxes? What did you use to do this? [code would be very much appreciated] I've tried using Win32::OLE, but havn't had much success"

3 of 17 comments (clear)

  1. Re:Trolls by Jeremiah+Cornelius · · Score: 3, Informative
    Exchange client for Linux? Try Ximian's Evolution, with the "Premium" Exchange connector they are releasing next month.

    Otherwise, Netscape etc. work as decent IMAP clients - as long as you don't expect to use calendar/scheduling, tasks or notes!

    --
    "Flyin' in just a sweet place,
    Never been known to fail..."
  2. Other interfaces by jbert · · Score: 4, Informative

    ADSI edit is one way to twiddle active directory.

    You can also get in over LDAP. This can be done nicely from perl with the 'Net::LDAP' module, available under the name 'perl-ldap' from CPAN and with a homepage on sourceforge.

    It is a useful interface, the biggest hurdle you are likely to face is authenticating yourself properly to the directory. There may be bits and pieces of example code in the distribution, otherwise do the web search thing and check the mailing list (and archives) for answers.

  3. Re:Trolls by Mr.+Foogle · · Score: 2, Informative

    There are indeed - but I have not tried it yet - if I recall right Bynari sells a version of the client, and open sourced an older version ..

    http://www.bynari.net

    --
    Display some adaptability.