[prev in list] [next in list] [prev in thread] [next in thread] 

List:       perl-win32-admin
Subject:    RE: How to set the HomeMTA in Exchange
From:       Andrew Bastien <ABastien () teleworx ! com>
Date:       1999-12-23 15:36:43
[Download RAW message or body]


I haven't used Net::LDAP, but FWIW this is how you set the MTA with ADSI:

$mailbox->Put("Home-MTA", "cn=Microsoft \
MTA,cn=Mailserver,cn=Servers,cn=Configuration,ou=Site,o=Organization"); 

-----Original Message-----
From: "Müller Thomas, CH" [mailto:Thomas.Mueller@fja.com]
Sent: December 23, 1999 9:39
To: Perl-Win32-Admin Mailing List
Subject: RE: How to set the HomeMTA in Exchange


> I'm trying to create an Exchange Mailbox. This works. But I can't set the
> HomeMTA. I've tried it like this:
> 
> $result = $exch->add ( dn =>
> "cn=$Account{userName},cn=$conf{ExContainer},ou=$conf{domain},o=$conf{ExOr
> g}",
> 			 attrs => [ 'objectClass' =>
> ['organizationalPerson'],
> 				    'cn'   =>$Account{displayName},
> 				    'uid' =>$Account{userName},
> 				    'mail' => $mail,
> #"$Account{firstName}.$Account{lastName}\@fja.com",
> 				    'assoc-nt-account' => [ $MySid ],
> 				    'nt-security-descriptor' => [ $MySD ],
> 				    'mailPreferenceOption' => 0,
> 				    'sn' => $Account{lastName},
> 				    'co' => $Account{country},
> 				    'givenName' => $Account{firstName},
> 				    'telephoneNumber' => $Account{phone1},
> 				    'mobile' => $Account{phone2},
> 				    'postalAddress' => $Account{adress},
> 				    'postalCode' => $Account{postalCode}
> 				    'Home-MTA' => 'C-FJA106'	#<- Doesn't
> work.			 
> 				    ]
> 		       );
> 
> 
> THX
> Thomas Mueller
> --
> Zeit bringt Rat. Erwartets mit Geduld.

---
You are currently subscribed to perl-win32-admin as: abastien@teleworx.com
To unsubscribe, forward this message to
         leave-perl-win32-admin-90393O@lyris.activestate.com
For non-automated Mailing List support, send email to  
         ListHelp@ActiveState.com

---
You are currently subscribed to perl-win32-admin as: \
[perl-win32-admin@progressive-comp.com] To unsubscribe, forward this message to
         leave-perl-win32-admin-90393O@lyris.activestate.com
For non-automated Mailing List support, send email to
         ListHelp@ActiveState.com


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic