diff --git a/.dockerignore b/.dockerignore index 35cdaf3..0b341f0 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,2 +1,3 @@ .git README.md +LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f2794b4 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2016 Mattias Wadman + +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 d8418a9..a29985f 100644 --- a/README.md +++ b/README.md @@ -39,3 +39,7 @@ When sending using your own SMTP server it is probably a very good idea to setup To enable [DKIM](https://en.wikipedia.org/wiki/DomainKeys_Identified_Mail) specifying a white space separated list of domains using `OPENDKIM_DOMAINS`. At conatiner start new key pairs for each domain will be generated if not found in `/etc/opendkim/keys/"`. To persist the keys make sure to add a host directory volume for `/etc/opendkim/keys`. If your using docker-compose it will automatically take care of moving data volumes between container recreates. DNS records to configure can be found in the container log or by running `docker exec -ti sh -c "cat /etc/opendkim/keys/*/mail.txt"`. + +## License + +postfix-relay is licensed under the MIT license. See [LICENSE](LICENSE) for the full license text.