Commit Graph

3464 Commits

Author SHA1 Message Date
Johannes Zellner
35a964bd00 Allow users to be verified with both emails if cloudron mail is enabled 2016-09-27 21:48:39 +02:00
Johannes Zellner
5cff9df632 Add tests for user getter 2016-09-27 21:48:39 +02:00
Johannes Zellner
84de6c0583 Add user creation tests when Cloudron mail is enabled 2016-09-27 21:48:39 +02:00
Johannes Zellner
ca1c48b4b5 Send mails to alternativeEmail if enabled 2016-09-27 21:48:39 +02:00
Johannes Zellner
64278a9ff9 Introduce alternativeEmail in case the Cloudron has email enabled 2016-09-27 21:48:39 +02:00
Girish Ramakrishnan
8bd790c1e0 remove unused variable 2016-09-27 11:58:02 -07:00
Girish Ramakrishnan
c9a0db0127 remove the alias and mailbox ldap listing code
it's unused and complicates things. besides, this is not going to be
possible to implement for the mailgroup code.
2016-09-27 11:51:21 -07:00
Girish Ramakrishnan
a75cefa38f Email now allows relay from 172.18.0.1 with no auth 2016-09-27 10:28:20 -07:00
Girish Ramakrishnan
374f4be08f bump mail container version 2016-09-27 10:19:30 -07:00
Girish Ramakrishnan
3fc17d38a5 Merge reserved groups and usernames into one list
This is because now the mailbox names are shared
2016-09-27 07:48:44 -07:00
Johannes Zellner
cfcf9f48cd Remove dead code 2016-09-27 13:17:31 +02:00
Johannes Zellner
d26859acb4 Make it clear that the cli tool has to be run from the laptop
This is based on several self-hosters installing it on the server
2016-09-27 13:05:41 +02:00
Johannes Zellner
adcdd45053 Specifically handle MX records for digitalocean to suit their api 2016-09-27 12:10:31 +02:00
Girish Ramakrishnan
33f803cd1c allow mailbox search by email 2016-09-26 21:03:07 -07:00
Girish Ramakrishnan
4856fc7de6 Fix mailAlias LDAP listing 2016-09-26 14:38:23 -07:00
Girish Ramakrishnan
9d9278b6f2 s/by/for 2016-09-26 14:02:23 -07:00
Girish Ramakrishnan
7d7de9e900 allow login via email cn to access mailbox 2016-09-26 12:03:37 -07:00
Girish Ramakrishnan
4a37747cfe authenticate mailbox based on owner 2016-09-26 11:55:16 -07:00
Girish Ramakrishnan
3e8cba08e3 add test for user alias routes 2016-09-26 11:12:12 -07:00
Girish Ramakrishnan
703e76ceb6 Check if there was an old username when deleting mailbox 2016-09-26 11:05:13 -07:00
Girish Ramakrishnan
577b509731 authorize logic in redundant
The authorization has to be done in the mail server. There is no
information on the ldap side to authorize.
2016-09-26 10:20:49 -07:00
Girish Ramakrishnan
3c9beb1add ldap: fix mailbox search and bind 2016-09-26 10:18:58 -07:00
Girish Ramakrishnan
46d8047599 fix ldapjs usage 2016-09-26 09:08:04 -07:00
Girish Ramakrishnan
d39fa041bf update ldapjs 2016-09-26 09:04:02 -07:00
Johannes Zellner
a7140412c4 Do not use userdb.get() directly in auth 2016-09-26 16:29:50 +02:00
Girish Ramakrishnan
3591452184 test that invalid alias cannot be set 2016-09-26 00:20:47 -07:00
Girish Ramakrishnan
a8d57bb036 test that user.del removed mailbox and aliases 2016-09-26 00:18:45 -07:00
Girish Ramakrishnan
d92e99a092 fix user alias API 2016-09-26 00:11:25 -07:00
Girish Ramakrishnan
b40e740110 test if mailbox is updated with username change 2016-09-25 23:58:21 -07:00
Girish Ramakrishnan
cd500adfe4 test that user.del deletes mailbox 2016-09-25 23:54:27 -07:00
Girish Ramakrishnan
55b80ac81f update mailbox on username change 2016-09-25 23:51:39 -07:00
Girish Ramakrishnan
1f1f56b431 Fix mailboxdb API 2016-09-25 23:21:55 -07:00
Girish Ramakrishnan
baa2dbbf39 Add alias and list ldap routes 2016-09-25 21:34:52 -07:00
Girish Ramakrishnan
4b34f823a7 implement ldap mailbox get 2016-09-25 16:46:11 -07:00
Girish Ramakrishnan
c158548c19 remove ununsed mailboxdb.getAll 2016-09-25 16:46:08 -07:00
Girish Ramakrishnan
8ce22c5656 ldap: remove unnecessary global 2016-09-25 16:11:54 -07:00
Girish Ramakrishnan
e4e54d87f2 Fix angular code to match new mailbox aliases API 2016-09-23 17:55:21 -07:00
Girish Ramakrishnan
2b1a94dc8d Add mailboxdb.getByOwnerId 2016-09-23 17:35:48 -07:00
Girish Ramakrishnan
afa352528f read send/recv config from mailbox database 2016-09-23 17:28:57 -07:00
Girish Ramakrishnan
6a32f89bf2 add/remove mailbox entry for app 2016-09-23 17:26:07 -07:00
Girish Ramakrishnan
49baad349c remove mailbox routes and move it to users 2016-09-23 15:45:40 -07:00
Girish Ramakrishnan
00ee2eea39 Remove code to push aliases
The mail-addon will query via LDAP
2016-09-23 15:14:07 -07:00
Girish Ramakrishnan
1d77c42269 Add ownerId to mailbox fields 2016-09-22 15:51:57 -07:00
Girish Ramakrishnan
f24eee026e add ownerId, ownerType to mailboxes table
ownerId is the app id or user id or the group id.
2016-09-22 15:51:16 -07:00
Girish Ramakrishnan
5773f26548 doc: add note to delete the dummy record
if the record remains, then installs to the naked domain will fail.
this is because we do not overwrite existing DNS entries that we
did not create.
2016-09-22 09:59:43 -07:00
Girish Ramakrishnan
563b2a3042 Do not add dmarc record unless mail is enabled
the dmarc records depends on the DKIM signing as well. if the
cloudron is not using the cloudron mail service, that means that
the mails are not dkim signed and thus mails get rejected.
2016-09-22 09:52:25 -07:00
Girish Ramakrishnan
565b0e13c8 remove unused variable 2016-09-22 09:34:18 -07:00
Johannes Zellner
b863f3f89d Be explicit what to show as the backup location 2016-09-22 16:14:26 +02:00
Johannes Zellner
e3aeb4daf3 Allow selfhosters to trigger a backup manually 2016-09-22 16:10:28 +02:00
Johannes Zellner
6480975ea7 Show backup config for non caas or dev 2016-09-22 16:10:03 +02:00