client says: All catch-all addresses gone. Is that possible ?

nieuwhier

Verified User
Joined
Sep 8, 2005
Messages
280
Location
Netherlands
Hi,

One customers complains that for the second time all his catch-all addresses are gone. He has one hosting account with 15 domains in it.

Does someone recognize this ? Is it possible ? I cannot find anything in logfiles.

regards,
Michel.
 
The only way I know of for this to happen is if the reseller disallows catchall.

Jeff
 
I Discovered how this happens. When a new domain is added to the account throught the API I add one to the domain count of his settings. THAT is what makes the catch_all address empty:confused: :confused: . I have tested this.

$Socket->query('/CMD_API_MODIFY_USER',
array('action' => 'customize',
'user' => $user,
'vdomains' => $value));
 
Its an old one but the reason was that because of the CMD_API_MODIFY_USER and only naming vdomains all other fields are reset to zero/empty/false.

After that I changed the package back but because of the previous all kind of settings were already changed back.

So; does someone has a tip howto do this:

1) Prevent the user from adding domains/pointers himself.
My idea was to count vdomains and store that+1 to the vdomains field of the account and than add the domain to the api. But that clears the rest. So no good.

Another try was to leave number of domains in the hostingplan to zero. But I cannot add domains through the API than.

So anyone any ideas ?
 
Back
Top