Commit aaea9540 authored by Joshua Tauberer's avatar Joshua Tauberer

remove my old Exchange autodiscover PHP script from systems

parent b6dd407a
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment