Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ibrahim Saleh committed Jan 3, 2022
1 parent 23fe6c5 commit 83c37ed
Show file tree
Hide file tree
Showing 84 changed files with 7,589 additions and 0 deletions.
498 changes: 498 additions & 0 deletions .env.sample

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#################################################
### General ###################################
#################################################

.DS_Store
.env
config/opendkim/

#################################################
### IDEs ######################################
#################################################

.idea
.vscode


#################################################
### Linting Tools #############################
#################################################

tools/

#################################################
### Tests #####################################
#################################################

test/config/empty/
test/config/postfix-accounts.cf
test/config/letsencrypt/mail.my-domain.com/combined.pem
test/config/dovecot-lmtp/userdb
test/config/key*
test/config/opendkim/keys/domain.tld/
test/config/opendkim/keys/example.com/
test/config/opendkim/keys/localdomain2.com/
test/config/postfix-aliases.cf
test/config/postfix-receive-access.cf
test/config/postfix-receive-access.cfe
test/config/postfix-send-access.cf
test/config/postfix-send-access.cfe
test/config/relay-hosts/chksum
test/config/relay-hosts/postfix-aliases.cf
test/config/without-virtual/
test/config/with-domain/
test/onedir
test/duplicate_configs

config.bak
testconfig.bak

mail/data/
11 changes: 11 additions & 0 deletions autodiscover/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:lts-alpine

LABEL maintainer="Monogramm Maintainers <opensource at monogramm dot io>"

EXPOSE 8000
WORKDIR /app
COPY package.json yarn.lock index.js settings.js /app/
RUN yarn --prod && yarn cache clean
COPY views /app/views

CMD ["node", "/app/index"]
22 changes: 22 additions & 0 deletions autodiscover/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
The MIT License (MIT)

Copyright (c) 2020 Monogramm

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.

88 changes: 88 additions & 0 deletions autodiscover/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"name": "autodiscover-email-settings",
"description": "Provides IMAP/SMTP/LDAP Autoconfiguration capabilities for Microsoft Outlook, Apple Mail, and Thunderbird",
"website": "https://monogramm.io",
"repository": "https://github.com/monogramm/autodiscover-email-settings",
"keywords": ["monogramm", "autoconfigure", "autoconf", "autodiscover", "outlook", "thunderbird", "apple mail", "imap", "smtp", "ldap"],
"addons": [
"papertrail"
],
"env": {
"COMPANY_NAME": {
"description": "Your company name",
"value": "AutoDiscover"
},
"SUPPORT_URL": {
"description": "Your company support URL",
"value": "autodiscover.example.com"
},
"DOMAIN": {
"description": "Your default domain",
"value": "example.com"
},
"IMAP_HOST": {
"description": "Your IMAP Host",
"value": "imap.example.com"
},
"IMAP_PORT": {
"description": "Your IMAP Port",
"value": "993"
},
"IMAP_SOCKET": {
"description": "Your IMAP Socket",
"value": "SSL"
},
"SMTP_HOST": {
"description": "Your SMTP Host",
"value": "smtp.example.com"
},
"SMTP_PORT": {
"description": "Your SMTP Port",
"value": "587"
},
"SMTP_SOCKET": {
"description": "Your SMTP Socket",
"value": "STARTTLS"
},
"LDAP_HOST": {
"description": "Your LDAP Host",
"value": "ldap.example.com"
},
"LDAP_PORT": {
"description": "Your LDAP Port",
"value": "389"
},
"LDAP_SOCKET": {
"description": "Your LDAP Socket",
"value": "STARTTLS"
},
"LDAP_BASE": {
"description": "Your LDAP Base DN",
"value": "dc=ldap,dc=example,dc=com"
},
"LDAP_USER_FIELD": {
"description": "Your LDAP Username name",
"value": "uid"
},
"LDAP_USER_BASE": {
"description": "Your LDAP User Base DN",
"value": "ou=People,dc=ldap,dc=example,dc=com"
},
"PROFILE_IDENTIFIER": {
"description": "Your mobile profile identifier",
"value": "com.example.autodiscover"
},
"PROFILE_UUID": {
"description": "Your mobile profile globally unique ID",
"value": "92943D26-CAB3-4086-897D-DC6C0D8B1E86"
},
"MAIL_UUID": {
"description": "Your mail profile globally unique ID",
"value": "7A981A9E-D5D0-4EF8-87FE-39FD6A506FAC"
},
"LDAP_UUID": {
"description": "Your ldap profile globally unique ID",
"value": "6ECB6BA9-2208-4ABF-9E60-4E9F4CD7309E"
}
}
}
85 changes: 85 additions & 0 deletions autodiscover/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 83c37ed

Please sign in to comment.