Access domains in postoffice

Discussion for developers using MailEnable.
Post Reply
lucvdv
Posts: 1
Joined: Fri Apr 08, 2011 1:14 pm

Access domains in postoffice

Post by lucvdv »

Using the COM API, is the only way to access domains in a postoffice through the domain.tab file in the config directory?

I succeed in accessing the postoffice through the MEAOPO interface, but I don't find how to list (let alone change) the domains, neither through MEAOPO nor through MEAOSM.


What I have to do is:
* Check if a certain domain exists at the local server's post office
* If it doesn't, server wide smart hosting was sending its mail the right way. That must now change: create it as a local domain and set up domain smart hosting to the same other server.
* Locate a certain mail group (I know it exists, otherwise I wouldn't need to do all this)
* Check if that group contains a certain address in the new domain among its members. If it does, skip the final step.
* Add that address to the addresses that can be used to mail to this group (not added to its member list, but as an address of the group itself).

Are there (m)any pitfalls to be expected?

Post Reply