mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Merge pull request #1381 from RealRancor/smtp_selinux
SELinux for sendmail and external storages
This commit is contained in:
@@ -33,6 +33,9 @@ available for use:
|
||||
can use the examples below. See the section :doc:`external_storage_configuration_gui`
|
||||
how to do this.
|
||||
|
||||
.. note:: A non-blocking or correctly configured SELinux setup is needed
|
||||
for these backends to work. Please refer to the :ref:`selinux-config-label`.
|
||||
|
||||
Please keep in mind that some formatting has been applied and carriage returns
|
||||
have been added for better readability. In the :file:`data/mount.json` all
|
||||
values need to be concatenated and written in a row without these modifications!
|
||||
@@ -179,9 +182,6 @@ Example
|
||||
|
||||
.. note:: PHP needs to be build with FTP support for this backend to work.
|
||||
|
||||
.. note:: A non-blocking or correctly configured SELinux setup is needed
|
||||
for this backend to work.
|
||||
|
||||
.. note:: The external storage ``FTP/FTPS/SFTP`` needs the ``allow_url_fopen`` PHP
|
||||
setting to be set to ``1``. When having connection problems make sure that it is
|
||||
not set to ``0`` in your ``php.ini``.
|
||||
@@ -236,8 +236,6 @@ takes the following options:
|
||||
- **root**: the remote subfolder inside the samba share to mount (optional, defaults
|
||||
to ‘/’). To assign the ownCloud logon username automatically to the subfolder, use ``$user`` instead of a particular subfolder name.
|
||||
|
||||
.. note:: The SMB backend requires **smbclient** to be installed on the server.
|
||||
|
||||
Example
|
||||
^^^^^^^
|
||||
With username only:
|
||||
|
||||
@@ -44,6 +44,9 @@ ownCloud admins may mount these external storage services and devices:
|
||||
ownCloud users can be given permission to mount any of these, except local
|
||||
storage.
|
||||
|
||||
.. note:: A non-blocking or correctly configured SELinux setup is needed
|
||||
for these backends to work. Please refer to the :ref:`selinux-config-label`.
|
||||
|
||||
Enabling External Storage Support
|
||||
---------------------------------
|
||||
|
||||
@@ -210,9 +213,6 @@ Connecting to an FTP server requires:
|
||||
configured to support ``ftps://``)
|
||||
* Enter the ownCloud users or groups who are allowed to access the share.
|
||||
|
||||
.. note:: A non-blocking or correctly configured SELinux setup is needed
|
||||
for this backend to work.
|
||||
|
||||
.. note:: The external storage ``FTP/FTPS/SFTP`` needs the ``allow_url_fopen`` PHP
|
||||
setting to be set to ``1``. When having connection problems make sure that it is
|
||||
not set to ``0`` in your ``php.ini``.
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
.. _selinux-config-label:
|
||||
|
||||
=====================
|
||||
SELinux Configuration
|
||||
=====================
|
||||
@@ -56,3 +58,10 @@ the app store. To allow this access use the following setting::
|
||||
|
||||
setsebool -P httpd_can_network_connect on
|
||||
|
||||
Allow access to SMTP/sendmail
|
||||
-----------------------------
|
||||
|
||||
If you want to allow ownCloud to send out e-mail notifications via sendmail you need
|
||||
to use the following setting::
|
||||
|
||||
setsebool -P httpd_can_sendmail on
|
||||
Reference in New Issue
Block a user