ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   Scripting / API (http://forum.ispsystem.com//forumdisplay.php?f=13)
-   -   Using API for setting email user parameters (http://forum.ispsystem.com//showthread.php?t=814)

bakon 11-12-2009 07:43 PM

Using API for setting email user parameters
 
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:
http://127.0.0.1/manager/ispmgr?out=...pamassassin=on
* 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.

GakcaT 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.


All times are GMT +2. The time now is 07:01 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.