From aaea9540722d9ab2be9afbc044d7da4c5f4ea169 Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Tue, 19 Aug 2014 11:50:00 +0000 Subject: [PATCH] remove my old Exchange autodiscover PHP script from systems --- setup/web.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/setup/web.sh b/setup/web.sh index 4f0b0685..9d00a76c 100755 --- a/setup/web.sh +++ b/setup/web.sh @@ -39,13 +39,18 @@ if [ -L /etc/init.d/php-fastcgi ]; then apt-get -y purge php5-cgi fi -# Put our webfinger and Exchange autodiscover.xml server scripts -# into a well-known location. -for f in webfinger exchange-autodiscover; do +# Put our webfinger script into a well-known location. +for f in webfinger; do cp tools/$f.php /usr/local/bin/mailinabox-$f.php chown www-data.www-data /usr/local/bin/mailinabox-$f.php 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. mkdir -p $STORAGE_ROOT/webfinger/acct; chown -R $STORAGE_USER $STORAGE_ROOT/webfinger