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
aaea9540
Commit
aaea9540
authored
Aug 19, 2014
by
Joshua Tauberer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove my old Exchange autodiscover PHP script from systems
parent
b6dd407a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
web.sh
setup/web.sh
+8
-3
No files found.
setup/web.sh
View file @
aaea9540
...
@@ -39,13 +39,18 @@ if [ -L /etc/init.d/php-fastcgi ]; then
...
@@ -39,13 +39,18 @@ if [ -L /etc/init.d/php-fastcgi ]; then
apt-get
-y
purge php5-cgi
apt-get
-y
purge php5-cgi
fi
fi
# Put our webfinger and Exchange autodiscover.xml server scripts
# Put our webfinger script into a well-known location.
# into a well-known location.
for
f
in
webfinger
;
do
for
f
in
webfinger exchange-autodiscover
;
do
cp
tools/
$f
.php /usr/local/bin/mailinabox-
$f
.php
cp
tools/
$f
.php /usr/local/bin/mailinabox-
$f
.php
chown
www-data.www-data /usr/local/bin/mailinabox-
$f
.php
chown
www-data.www-data /usr/local/bin/mailinabox-
$f
.php
done
done
# Remove obsoleted scripts.
# exchange-autodiscover is now handled by Z-Push.
for
f
in
exchange-autodiscover
;
do
rm
/usr/local/bin/mailinabox-
$f
.php
done
# Make some space for users to customize their webfinger responses.
# Make some space for users to customize their webfinger responses.
mkdir
-p
$STORAGE_ROOT
/webfinger/acct
;
mkdir
-p
$STORAGE_ROOT
/webfinger/acct
;
chown
-R
$STORAGE_USER
$STORAGE_ROOT
/webfinger
chown
-R
$STORAGE_USER
$STORAGE_ROOT
/webfinger
...
...
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