设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 技术文摘 查看内容

Postfix&Dovecot管理工具Posty

2014-7-17 15:00| 发布者: joejoe0332| 查看: 1883| 评论: 0|原作者: oschina|来自: oschina

摘要:   Posty 是一款基于 Web 的 Postfix Dovecot 管理工具,功能模块包括:API、CLI 和 WebUI。API 方法:Domains:GET - http://API-URL/api/v1/domains - get all domainsGET - http://API-URL/api/v1/domains/{name ...

  Posty 是一款基于 Web 的 Postfix & Dovecot 管理工具,功能模块包括:API、CLI 和 WebUI。



API 方法:

Domains:

  • GET - http://API-URL/api/v1/domains - get all domains

  • GET - http://API-URL/api/v1/domains/{name} - get {name} domain

  • POST - http://API-URL/api/v1/domains - create domain (params: name)

  • PUT - http://API-URL/api/v1/domains/{name} - change domain {name} (params: name)

  • DELETE - http://API-URL/api/v1/domains/{name} - delete domain {name}

Users:

  • GET - http://API-URL/api/v1/domains/{domain}/users - get all users for {domain}

  • GET - http://API-URL/api/v1/domains/{domain}/users/{name} - get the user {name}@{domain}

  • POST - http://API-URL/api/v1/domains/{domain}/users - create user (params: name, password, quota)

  • PUT - http://API-URL/api/v1/domains/{domain}/users/{name} - change user {name}@{domain} (params: name, password, quota)

  • DELETE - http://API-URL/api/v1/domains/{domain}/users/{name} - delete user {name}@{domain}

UserAliases:

  • GET - http://API-URL/api/v1/domains/{domain}/users/{user}/aliases - get all aliases for {user}

  • GET - http://API-URL/api/v1/domains/{domain}/users/{user}/aliases/{name} - get the alias {name}@{domain}

  • POST - http://API-URL/api/v1/domains/{domain}/users/{user}/aliases - create alias (params: name)

  • PUT - http://API-URL/api/v1/domains/{domain}/users/{user}/aliases/{name} - change alias {name}@{domain} (params: name)

  • DELETE - http://API-URL/api/v1/domains/{domain}/users/{user}/aliases/{name} - delete alias {name}@{domain}

DomainAliases:

  • GET - http://API-URL/api/v1/domains/{domain}/aliases - get all aliases for {domain}

  • GET - http://API-URL/api/v1/domains/{domain}/aliases/{name} - get the alias @{name}

  • POST - http://API-URL/api/v1/domains/{domain}/aliases - create alias (params: name)

  • PUT - http://API-URL/api/v1/domains/{domain}/aliases/{name} - change alias @{name} (params: name)

  • DELETE - http://API-URL/api/v1/domains/{domain}/aliases/{name} - delete alias @{name}

Summary:

  • GET - http://API-URL/api/v1/summary - get the number of existing domains, users, domain aliases and user aliases

Transports:

  • GET - http://API-URL/api/v1/transports - get all transports

  • GET - http://API-URL/api/v1/transports/{name} - get the transport for {name}

  • POST - http://API-URL/api/v1/transports - create alias (params: name, destination)

  • PUT - http://API-URL/api/v1/transports/{name} - change transport {name} (params: name, destination)

  • DELETE - http://API-URL/api/v1/transports/{name} - delete transport {name}

ApiKeys:

  • GET - http://API-URL/api/v1/api_keys - get all api keys

  • GET - http://API-URL/api/v1/apikeys/{token} - get the apikey for {token}

  • POST - http://API-URL/api/v1/apikeys - create accesstoken (params: expires_at)

  • PUT - http://API-URL/api/v1/apikeys/{token} - change apikey {token} (params: active, expires_at)

  • DELETE - http://API-URL/api/v1/apikeys/{token} - delete accesstoken {token}


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部