Skip to content

wiedi/mi-core-mailapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mi-core-mailapi

Please refer to https://github.com/joyent/mibe for use of this repo.

mdata variables

  • api_redis_key: base64 encoded spipe key
  • import_urls: list of urls that provide a json dump of mail accounts and aliases. The format is described below.

Services

  • 80/tcp: http api
  • 443/tcp: https api
  • 63790/tcp: spipe encrypted redis master

Legacy JSON import format

Example:

{
	"example.com": {
		"account": [
			{
				"name": "alice",
				"password": "$1$9hW1N3SC$J6vfo890zc50GC1jYHP211"
			},
			{
				"name": "bob",
				"password": "$1$0MhHZVnG$d6rHD1KFLNOJ9EFdMKrB91"
			}
		],
		"alias": [
			{
				"to": "alice@example.com,bob@example.com",
				"name": "office"
			}
		]
	}
}

This creates two email accounts for alice@example.com and bob@example.com. It also creates an email alias office@example.com that forwards mail to both mailboxes.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages