Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mailinabox
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mailinabox
Commits
5775cab1
Commit
5775cab1
authored
Nov 06, 2014
by
Norman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
various fixes
parent
c872e6a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
17 deletions
+20
-17
nginx.conf
conf/nginx.conf
+4
-1
mobileconfig.sh
setup/mobileconfig.sh
+16
-16
No files found.
conf/nginx.conf
View file @
5775cab1
...
...
@@ -34,6 +34,10 @@ server {
access_log
off
;
}
location
=
/mailinabox.mobileconfig
{
alias
/var/lib/mailinabox/mobileconfig.xml
;
}
# Roundcube Webmail configuration.
rewrite
^/mail
$
/mail/
redirect
;
rewrite
^/mail/
$
/mail/index.php
;
...
...
@@ -80,4 +84,3 @@ server {
# ADDITIONAL DIRECTIVES HERE
}
setup/mobileconfig.sh
View file @
5775cab1
...
...
@@ -20,7 +20,7 @@ echo "<?xml version="1.0" encoding="UTF-8"?>
<array>
<dict>
<key>CalDAVAccountDescription</key>
<string>Mail-in-a-
b
ox Calendar</string>
<string>Mail-in-a-
B
ox Calendar</string>
<key>CalDAVHostName</key>
<string>
$PRIMARY_HOSTNAME
</string>
<key>CalDAVPort</key>
...
...
@@ -30,11 +30,11 @@ echo "<?xml version="1.0" encoding="UTF-8"?>
<key>CalDAVUseSSL</key>
<true/>
<key>PayloadDescription</key>
<string>
CalDAV-Account
</string>
<string>
$PRIMARY_HOSTNAME
(Mail-in-a-Box)
</string>
<key>PayloadDisplayName</key>
<string>
CalDAV (Mail-in-a-box Calendar)
</string>
<string>
$PRIMARY_HOSTNAME
calendar
</string>
<key>PayloadIdentifier</key>
<string>
com.mailinabox.setup
.CalDAV</string>
<string>
email.mailinabox.mobileconfig.
$PRIMARY_HOSTNAME
.CalDAV</string>
<key>PayloadOrganization</key>
<string></string>
<key>PayloadType</key>
...
...
@@ -46,7 +46,7 @@ echo "<?xml version="1.0" encoding="UTF-8"?>
</dict>
<dict>
<key>EmailAccountDescription</key>
<string>Mail-in-a-
b
ox Mail</string>
<string>Mail-in-a-
B
ox Mail</string>
<key>EmailAccountType</key>
<string>EmailTypeIMAP</string>
<key>IncomingMailServerAuthentication</key>
...
...
@@ -68,11 +68,11 @@ echo "<?xml version="1.0" encoding="UTF-8"?>
<key>OutgoingPasswordSameAsIncomingPassword</key>
<true/>
<key>PayloadDescription</key>
<string>
E-Mail-Account
</string>
<string>
$PRIMARY_HOSTNAME
(Mail-in-a-Box)
</string>
<key>PayloadDisplayName</key>
<string>
IMAP-Account
</string>
<string>
$PRIMARY_HOSTNAME
mail
</string>
<key>PayloadIdentifier</key>
<string>
com.mailinabox.setup
.E-Mail</string>
<string>
email.mailinabox.mobileconfig.
$PRIMARY_HOSTNAME
.E-Mail</string>
<key>PayloadOrganization</key>
<string></string>
<key>PayloadType</key>
...
...
@@ -90,7 +90,7 @@ echo "<?xml version="1.0" encoding="UTF-8"?>
</dict>
<dict>
<key>CardDAVAccountDescription</key>
<string>Mail-in-a-
b
ox Contacts</string>
<string>Mail-in-a-
B
ox Contacts</string>
<key>CardDAVHostName</key>
<string>
$PRIMARY_HOSTNAME
</string>
<key>CardDAVPort</key>
...
...
@@ -100,11 +100,11 @@ echo "<?xml version="1.0" encoding="UTF-8"?>
<key>CardDAVUseSSL</key>
<true/>
<key>PayloadDescription</key>
<string>
CardDAV-Accounts
</string>
<string>
$PRIMARY_HOSTNAME
(Mail-in-a-Box)
</string>
<key>PayloadDisplayName</key>
<string>
CardDAV
</string>
<string>
$PRIMARY_HOSTNAME
contacts
</string>
<key>PayloadIdentifier</key>
<string>
com.mailinabox.setup
.carddav</string>
<string>
email.mailinabox.mobileconfig.
$PRIMARY_HOSTNAME
.carddav</string>
<key>PayloadOrganization</key>
<string></string>
<key>PayloadType</key>
...
...
@@ -116,11 +116,11 @@ echo "<?xml version="1.0" encoding="UTF-8"?>
</dict>
</array>
<key>PayloadDescription</key>
<string>
Mail, Contacts & Calendar
</string>
<string>
$PRIMARY_HOSTNAME
(Mail-in-a-Box)
</string>
<key>PayloadDisplayName</key>
<string>
Mail-in-a-box
</string>
<string>
$PRIMARY_HOSTNAME
</string>
<key>PayloadIdentifier</key>
<string>
com.mailinabox.setup
</string>
<string>
email.mailinabox.mobileconfig.
$PRIMARY_HOSTNAME
</string>
<key>PayloadOrganization</key>
<string></string>
<key>PayloadRemovalDisallowed</key>
...
...
@@ -132,4 +132,4 @@ echo "<?xml version="1.0" encoding="UTF-8"?>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>"
>
"
$STORAGE_ROOT
/www/default/mailinabox.mobileconfig
"
;
</plist>"
>
"
/var/lib/mailinabox/mobileconfig.xml
"
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment