Commit Graph
3327 Commits
Author SHA1 Message Date
Antoine Nguyen 9fcd133bc8 doc: fixed label syntax. 2019-07-09 09:55:01 +02:00
Antoine NguyenandGitHub 1d430ba96e Changed message field type to TextField. (#1754)
fix #1743
2019-07-05 14:51:28 +02:00
Tom HendrikxandAntoine Nguyen bb78d6b5e2 Remove lots of dead and/or unreliable DNSBLs from the default list. (#1748) 2019-06-25 15:02:24 +02:00
Antoine Nguyen 115dab7a6c Try to upgrade postgres version. 2019-06-13 12:32:02 +02:00
Antoine Nguyen f80eff16db ldap auth direct bind fix
set AUTH_LDAP_BIND_AS_AUTHENTICATING_USER to True when direct bind auth
is enabled because we need to access user attributes.

See https://django-auth-ldap.readthedocs.io/en/latest/authentication.html#customizing-authentication
2019-06-13 12:13:26 +02:00
Antoine Nguyen da24e2c877 ldapsync: do not sync empty passwords. 2019-06-07 17:21:48 +02:00
Antoine Nguyen 032b370a68 Updated locales. 2019-06-07 11:00:22 +02:00
Antoine Nguyen e38d173d40 Merge branch 'master' of github.com:modoboa/modoboa 2019-06-07 10:23:50 +02:00
Antoine Nguyen 98a400293c ldap: deactivate password update when sync is enabled. 2019-06-07 10:23:17 +02:00
jeromelebleuandAntoine Nguyen 793dba96cb Make dependency to argon2 optional (#1701) 2019-05-17 09:29:06 +02:00
Antoine Nguyen 1af015c6c6 Do not activate ldapsync app by default. 2019-05-07 12:35:44 +02:00
Antoine Nguyen 657b88882f Updated documentation. 2019-05-07 12:31:27 +02:00
Antoine Nguyen e74a45095f Updated translations. 2019-05-07 11:30:30 +02:00
Antoine NguyenandGitHub ab592c3d02 LDAP synchronization process (#1732)
* Initial commit for LDAP sync process.

* Fixed unit tests.

* Added doc and run ldapsync tests on travis.

* Removed server address.

* Force bytes when calling ldap methods.

* Fixed tests compat with python2.

* Do not force bytes here.

* Force bytes.

* Force bytes for attribute names too.

* Disable bytes mode in PY2.

* Handle account removals.

* Fixed unit tests.

* Limit sync to simple users.

* Fixed unit test.

* Fixed unit test.
2019-05-07 10:48:00 +02:00
Antoine Nguyen 76109337aa Fixed doc. 2019-04-29 12:15:53 +02:00
Antoine NguyenandGitHub 6d934435f5 Merge pull request #1722 from Eveley/remove-bad-dnsbl
Removed bad DNSBL bad.psky.me - see issue #1721.
2019-04-24 16:33:10 +02:00
Chris Eveley 24efdf16e3 Removed bad DNSBL bad.psky.me - see issue #1721. 2019-04-22 09:41:52 +02:00
Antoine NguyenandGitHub 3e2ddc001d Merge pull request #1690 from Arvedui/argon2
Argon2 support
2019-03-19 09:08:20 +01:00
Arvedui bd2ad0ce3f fixup! add test for rehash on login for parameter update 2019-03-13 22:20:10 +01:00
Arvedui 0a7a7a10bb fixup! Implement support for the argon2 password hash 2019-03-13 22:19:20 +01:00
Arvedui 3e072debad add test for rehash on login for parameter update 2019-03-03 12:42:11 +01:00
Arvedui c4108a1544 add basic test for argon2 hash 2019-03-03 12:41:43 +01:00
Arvedui 6145965154 Implement support for the argon2 password hash 2019-03-03 00:38:00 +01:00
Arvedui ab0926f916 add facilities to rehash on login passwords if parameters change 2019-03-03 00:17:27 +01:00
Antoine NguyenandGitHub dd2e8ab360 Merge pull request #1686 from Arvedui/fix_rounds_parameter
fix regression that caused the rounds parameter to be ignored
2019-03-01 12:11:51 +01:00
Arvedui af72e52db2 fix regression that caused the rounds parameter to be ignored 2019-02-28 21:48:55 +01:00
Antoine Nguyen 404f4bc0f5 Fixed doc. 2019-02-28 14:40:13 +01:00
Antoine Nguyen 3cfdcff53e Added 1.13.1 documentation. 2019-01-31 19:16:39 +01:00
Antoine NguyenandGitHub d1a5253e1f Merge pull request #1631 from alexander255/patch-1
Allow users to send emails from alias domains
2019-01-31 19:08:02 +01:00
Alexander Schlarb e676261ec0 Compare aliased domain with domain of alias rather then mailbox when the alias domain is different from the mailbox one 2019-01-23 23:50:56 +01:00
Alexander Schlarb 10457f4ffd Fix typo 2019-01-23 23:22:35 +01:00
Alexander Schlarb ee22c50e04 Fix critical issue that would prevent any address aliases from being resolved if a domain has no domain alias 2019-01-23 23:19:37 +01:00
Antoine Nguyen 511a9c3124 Use correct permission.
fix #1645
2019-01-21 16:39:30 +01:00
Antoine NguyenandGitHub 14211154d9 Merge pull request #1658 from modoboa/fix/spf_record_extra_spaces
dnstools: ignore extra spaces in records.
2019-01-21 11:56:24 +01:00
Antoine Nguyen c04d85d265 Improve coverage. 2019-01-21 11:21:06 +01:00
Antoine Nguyen b12411459f Do not use mysqlclient 1.4.x until we move to Django 2. 2019-01-21 10:40:14 +01:00
Antoine Nguyen 3262d02064 dnstools: ignore extra spaces in records. 2019-01-18 18:32:05 +01:00
Antoine NguyenandGitHub 6f4ebf3abe Merge pull request #1648 from jammo-nl/master
Bugfix: DKIM checks fail
2019-01-09 13:46:31 +01:00
jammo-nlandGitHub 3aa14eb501 Add space to follow coding standards 2019-01-07 11:12:35 +01:00
jammo-nlandGitHub 24e9534378 Bugfix: DKIM checks fail
The DKIM key is base64 encoded, meaning it can end with "=" signs
Split on "=" and check if you have 2 'parts' (key and value) will fail in these cases.
By using split("=",1) we make sure we only slit on the first occurence of the "=" sign
2019-01-07 10:52:35 +01:00
Antoine Nguyen e26dd51a81 Fixed #1636 2018-12-21 12:37:19 +01:00
Antoine NguyenandGitHub 807110296e Merge pull request #1637 from modoboa/fix/fullname_display
Display fullname when last_name is set too.
2018-12-21 11:41:02 +01:00
Antoine Nguyen 782e340ef6 Display fullname when last_name is set too.
see #1629
2018-12-17 09:31:47 +01:00
Alexander SchlarbandGitHub 1fbc12ec1e Code style checkers suck 🙁 2018-12-09 20:47:21 +00:00
Alexander SchlarbandGitHub 7b7b47657c Allow users to send emails from alias domains
### Problem

Currently, if I have a domain `bla.com` that is an alias of `blub.com` and John has user account as `john@blub.com`, then will not be able to send e-mails as `john@bla.com` because the system will not recognize / communicate to Postfix that `john@bla.com` is the same as `john@blub.com` and hence Postfix will reject this attempt.

### Proposed Solution

When calculating the allowed SASL usernames for an email address, also include aliases from aliased domains in the result of the query. (This will also work for the primary username, since that is added as “internal” alias to that table as well.)

### Caveats

I only tested the proposed query with PostgreSQL.
2018-12-09 20:30:43 +00:00
Antoine Nguyen 5807395d6f Added security settings to default configuration.
see #1592
2018-11-28 13:31:41 +01:00
Antoine Nguyen e4f979c995 Updated documentation. 2018-11-20 17:31:58 +01:00
Antoine Nguyen a4e4b9a728 Fixed wrong property. 2018-11-20 17:25:44 +01:00
Antoine NguyenandGitHub 7336996ef0 Merge pull request #1622 from modoboa/feature/dns_config_page
Added DNS configuration page for domain.
2018-11-20 17:19:25 +01:00
Antoine Nguyen 76ee15c388 Added DNS configuration page for domain.
see #1621
2018-11-20 16:50:57 +01:00