Connect. Communicate. Collaborate. Securely.

Home » Developer Zone » API/SDK Writers » Restricted distribution list (Customer asked for a restricted d-list)
  •  
pcunix

Messages: 594
Karma: 33
Send a private message to this user
A customer wants to have an "allusers" mail address but wants to restrict who can write to it.

One thought was to make it a mailing list instead, though updating it would be annoying.. it's a simple "members" text file, so I thought of using the API to get the email addresses on some regular basis to recreate the file.

Am I over complicating this? Would there be an easier way?

Tony Lawrence
Kerio Preferred Partner and Reseller
Certified for Connect, Control
http://aplawrence.com
  •  
Miroslav Osladil (Kerio)

Messages: 188

Karma: 27
Send a private message to this user
Hi Tony,

I'm afraid that updating a simple "member" text file will be exactly the same annoying as clicking in to Web Administration. But yes, the file can update anyone with the Notepad skills. Smile

For use the API, there is an interface MailingLists which has methods to get users (getMlUserList) add (addMlUserList) or remove (removeMlUserList) users in the mailing list.

M.

Miroslav Osladil
Senior Developer
Kerio Technologies

The views I express are my own and do not necessarily reflect the views of Kerio Technologies.
  •  
Miroslav Osladil (Kerio)

Messages: 188

Karma: 27
Send a private message to this user
Sample request for adding two moderators at once is as follows.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "MailingLists.addMlUserList",
  "params": {
    "members": [
      {
        "hasId": false,
        "emailAddress": "mosladil<_at_>kerio.com",
        "fullName": "Mira Osladil",
        "kind": "Moderator"
      },
      {
        "hasId": false,
        "emailAddress": "miroslav.osladil<_at_>kerio.com",
        "fullName": "Mira dot Osladil",
        "kind": "Moderator"
      }
    ],
    "mlId": "keriodb://mailinglist/f0de ... c368"
  }
}

Miroslav Osladil
Senior Developer
Kerio Technologies

The views I express are my own and do not necessarily reflect the views of Kerio Technologies.
Previous Topic: Looking for an API writer who can connect a Steelcase RoomWizard to Kerio connect
Next Topic: ClamAV Plugin for Windows
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Thu Nov 23 17:38:44 CET 2017

Total time taken to generate the page: 0.00359 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.