View Full Version : Using API for setting email user parameters

11-12-2009, 07:43 PM
The idea is that we want to activate flag: SPAMASSASSIN and GREYLIST of an email user.
We want to do that for a lot of users.

When we call that:
* where [EMAIL] is an email that we want to modify

The question is:
1) Why does that API call delete/destroy the email aliases of the email user?
2) Is there any way to do want we want with the API? Is our API call wrong?

Thank you.

11-13-2009, 05:40 AM
In the query you don't specify the mailbox aliases. If you add them in your query they won't be removed. You can do that with the two queries:
1) The first query receives the mailbox information(aliases, etc.).
2) The second query uses the received information and changes SPAMASSASSIN and GREYLIST flags.