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
277f98aa
Commit
277f98aa
authored
Aug 16, 2014
by
Joshua Tauberer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drop the owncloud mail app for now
parent
ce4505b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
38 deletions
+0
-38
owncloud.sh
setup/owncloud.sh
+0
-21
update_mail_app.sh
tools/update_mail_app.sh
+0
-17
No files found.
setup/owncloud.sh
View file @
277f98aa
...
...
@@ -104,31 +104,10 @@ tools/editconf.py /etc/php5/fpm/php.ini -c ';' \
max_execution_time
=
600
\
short_open_tag
=
On
# MAIL
# Download and install the mail app
# TODO: enable mail app in ownCloud config, not exposed afaik?
if
[
!
-d
/usr/local/lib/owncloud/apps/mail
]
;
then
rm
-f
/tmp/owncloud_mail.zip
wget
-qO
/tmp/owncloud_mail.zip https://github.com/owncloud/mail/archive/master.zip
unzip
-q
/tmp/owncloud_mail.zip
-d
/usr/local/lib/owncloud/apps
mv
/usr/local/lib/owncloud/apps/mail-master /usr/local/lib/owncloud/apps/mail
rm
-f
/tmp/owncloud.zip
fi
# Currently the mail app dosnt ship with the dependencies, so we need to install them
curl
-sS
https://getcomposer.org/installer | php
--
--install-dir
=
/usr/local/lib/owncloud/apps/mail
php /usr/local/lib/owncloud/apps/mail/composer.phar
install
--working-dir
=
/usr/local/lib/owncloud/apps/mail
chmod
-R
777 /usr/local/lib/owncloud/apps/mail/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer
chown
-R
www-data.www-data /usr/local/lib/owncloud/apps/mail/
# Use Crontab instead of AJAX/webcron in ownCloud
# TODO: somehow change the cron option in ownClouds config, not exposed afaik?
(
crontab
-u
www-data
-l
;
echo
"*/15 * * * * php -f /usr/local/lib/owncloud/cron.php"
)
| crontab
-u
www-data -
# Enable mail app.
hide_output php /usr/local/lib/owncloud/console.php app:enable mail
# Finished.
php5enmod imap
restart_service php5-fpm
tools/update_mail_app.sh
deleted
100644 → 0
View file @
ce4505b7
#!/bin/bash
# Simple script to update the mail app in ownCloud, not needed once it reaches beta+
echo
"installing mail app..."
rm
-f
/tmp/owncloud_mail.zip
wget
-qO
/tmp/owncloud_mail.zip https://github.com/owncloud/mail/archive/master.zip
unzip /tmp/owncloud_mail.zip
-d
/usr/local/lib/owncloud/apps
mv
/usr/local/lib/owncloud/apps/mail-master /usr/local/lib/owncloud/apps/mail
rm
-f
/tmp/owncloud.zip
echo
"installing php composer and mail app dependencies..."
curl
-sS
https://getcomposer.org/installer | php
--
--install-dir
=
/usr/local/lib/owncloud/apps/mail
php /usr/local/lib/owncloud/apps/mail/composer.phar
install
--working-dir
=
/usr/local/lib/owncloud/apps/mail
chmod
-R
777 /usr/local/lib/owncloud/apps/mail/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer
echo
"DONE! :-)"
\ No newline at end of file
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