US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > Modifications / Add-ons > Scripting / API


Closed Thread
 
Thread Tools
Old 11-12-2009, 07:43 PM   #1
Member
 
Join Date: Jul 2004
Posts: 77
bakon
Send a message via ICQ to bakon
Default 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.
bakon is offline  
Old 11-13-2009, 05:40 AM   #2
ISPsystem team
 
Join Date: Jan 2009
Posts: 111
GakcaT is on a distinguished road
Default

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.
GakcaT is offline  
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:23 PM.