Exchange 5.5 - modifying smtp addresses via VBscript

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi,

I need to write a VBscript to enumerate all the users on an Exchange
5.5 machine and remove/change the smtp addresses for a number of them
(due to a domain name change amongst other things).

I have searched extensively to find any info but nothing to do this
for 5.5. I have found plenty for 2000/2K3 but of course since 5.5
does not use AD it is a little trickier.

I have seen MS's webpage (<http://www.microsoft.com/technet/archive/
exchangeserver55/reskit/exc12.mspx?mfr=true>)

but unfortunately I cannot get this to work (nor even simple LDAP
queries) as trying to use any LDAP always gives me the error "An
operations error has occured".

I have had some small success using MAPI.Session and GetAddressEntry
but this only gets for one user and I need to enumerate all users on
the box, plus, I don't see any way of changing the address and writing
it back.

I'd rather not do an export/fix/import if at all possible.

Thanks in advance for any info.

.



Relevant Pages

  • RE: Active Directory user enumeration
    ... By default, anonymous LDAP operations, except ... I'm not sure there is a way to enumerate AD through LDAP without ... Audit your website security with Acunetix Web Vulnerability Scanner: ... Cross site scripting and other web attacks before hackers do! ...
    (Pen-Test)
  • Re: Cannot connect from remote host
    ... You could try to enumerate all interfaces manually, ... Running ps -ef | grep smtp gives me: ... If you have a MSA on this machine as well (port ... 589), try this one from external machines, this port is less likely ...
    (comp.mail.sendmail)