A simple Django app to handle imap login.
Project description
=====
Multiimap
=====
Multiimap is a simple Django app to manage login via imap server.
Quick start
-----------
1. Add "multiimap" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'django_multiimap',
]
2. In project settings, add multiimap backend to the backend tuple::
AUTHENTICATION_BACKENDS = (
'django_multiimap.backend.Backend',
'django.contrib.auth.backends.ModelBackend',
)
3. In project settings, add an 'MULTIIMAP_SERVERS' dictionary like this::
MULTIIMAP_SERVERS = {
'domain': {'host': 'domain_address', 'group_name': 'the_group_name', 'superusers': ['address@email.com']},
'domain1': {'host': 'domain1_address', 'group_name': 'the_group_name1', 'superusers': []}
}
This module will create a group with a name like 'multiimap_group_%s' % domain where domain is the @domain.com in user email.
Users mail addresses in superuser list will be set as django superuser.
Multiimap
=====
Multiimap is a simple Django app to manage login via imap server.
Quick start
-----------
1. Add "multiimap" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'django_multiimap',
]
2. In project settings, add multiimap backend to the backend tuple::
AUTHENTICATION_BACKENDS = (
'django_multiimap.backend.Backend',
'django.contrib.auth.backends.ModelBackend',
)
3. In project settings, add an 'MULTIIMAP_SERVERS' dictionary like this::
MULTIIMAP_SERVERS = {
'domain': {'host': 'domain_address', 'group_name': 'the_group_name', 'superusers': ['address@email.com']},
'domain1': {'host': 'domain1_address', 'group_name': 'the_group_name1', 'superusers': []}
}
This module will create a group with a name like 'multiimap_group_%s' % domain where domain is the @domain.com in user email.
Users mail addresses in superuser list will be set as django superuser.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-multiimap-0.1.tar.gz
(9.4 kB
view details)
File details
Details for the file django-multiimap-0.1.tar.gz.
File metadata
- Download URL: django-multiimap-0.1.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f5f03b20701ba562b8ae23f54c1abfa7ccd915899d1dc233a03958857ad0209
|
|
| MD5 |
50f47943042a2587decab5b706e0bd2a
|
|
| BLAKE2b-256 |
550f83c8ee2b71724f0b2f33b72f1dd118ec38bda114fff73b4d4c00c085b612
|