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. |
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 05:41 PM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.