diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a9c6e7f --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2016 Hikaru KASHIWAZAKI + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 3106b9c..747d1a3 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ mailfull-go A management tool for virtual domain email for Postfix and Dovecot written in Go. +[![GoDoc](https://godoc.org/github.com/directorz/mailfull-go?status.svg)](https://godoc.org/github.com/directorz/mailfull-go) + Features -------- diff --git a/repository.go b/repository.go index 7372956..a1e27dd 100644 --- a/repository.go +++ b/repository.go @@ -44,8 +44,8 @@ type RepositoryConfig struct { DirDatabasePath string `toml:"dir_database"` DirMailDataPath string `toml:"dir_maildata"` Username string `toml:"username"` - CmdPostalias string `toml:"postalias"` - CmdPostmap string `toml:"postmap"` + CmdPostalias string `toml:"cmd_postalias"` + CmdPostmap string `toml:"cmd_postmap"` } // Normalize normalizes paramaters of the RepositoryConfig. diff --git a/version.go b/version.go index 2d2cf0d..76908b4 100644 --- a/version.go +++ b/version.go @@ -1,4 +1,4 @@ package mailfull // Version is a version number. -const Version = "0.0.1" +const Version = "0.0.2"