mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-01 12:03:55 +01:00
+29
-5
@@ -240,14 +240,14 @@ This parameter is optional but you must ensure it is set to ``False``
|
||||
The default configuration file provided by the ``modoboa-admin.py``
|
||||
command is properly configured.
|
||||
|
||||
****
|
||||
LDAP
|
||||
****
|
||||
***********************
|
||||
External authentication
|
||||
***********************
|
||||
|
||||
.. _ldap_auth:
|
||||
|
||||
Authentication
|
||||
==============
|
||||
LDAP
|
||||
====
|
||||
|
||||
Modoboa supports external LDAP authentication using the following extra components:
|
||||
|
||||
@@ -381,6 +381,30 @@ Modoboa.
|
||||
to manually delete the Modoboa record, it will be recreated on the
|
||||
next user login.
|
||||
|
||||
.. _smtp_auth:
|
||||
|
||||
SMTP
|
||||
====
|
||||
|
||||
It is possible to use an existing SMTP server as an authentication
|
||||
source. To enable this feature, edit the :file:`settings.py` file and
|
||||
change the following setting:
|
||||
|
||||
.. sourcecode:: python
|
||||
|
||||
AUTHENTICATION_BACKENDS = (
|
||||
'modoboa.lib.authbackends.SMTPBackend',
|
||||
'django.contrib.auth.backends.ModelBackend',
|
||||
)
|
||||
|
||||
SMTP server location can be customized using the following settings:
|
||||
|
||||
.. sourcecode:: python
|
||||
|
||||
AUTH_SMTP_SERVER_ADDRESS = 'localhost'
|
||||
AUTH_SMTP_SERVER_PORT = 25
|
||||
AUTH_SMTP_SECURED_MODE = None # 'ssl' or 'starttls' are accepted
|
||||
|
||||
********************
|
||||
Database maintenance
|
||||
********************
|
||||
|
||||
@@ -84,6 +84,20 @@ documentation.
|
||||
Specific instructions
|
||||
*********************
|
||||
|
||||
1.7.0
|
||||
=====
|
||||
|
||||
Modoboa used to provide a custom authentication backend
|
||||
(``modoboa.lib.authbackends.SimpleBackend``) but it has been
|
||||
removed. Please modify you :file:`settings.py` file as follows:
|
||||
|
||||
.. sourcecode:: python
|
||||
|
||||
AUTHENTICATION_BACKENDS = (
|
||||
# Other backends before...
|
||||
'django.contrib.auth.backends.ModelBackend',
|
||||
)
|
||||
|
||||
1.6.1
|
||||
=====
|
||||
|
||||
|
||||
Reference in New Issue
Block a user