Girish Ramakrishnan
b6335a327c
Rename TYPE_* to OWNER_TYPE_*
2018-04-07 18:33:30 -07:00
Johannes Zellner
55d53ef311
Do not succeed if mailbox name is already taken
2018-04-06 16:55:01 +02:00
Girish Ramakrishnan
9beeb33090
mail: validate list and mailbox names
2018-04-05 17:49:16 -07:00
Girish Ramakrishnan
605dc00422
mail: add members field for lists
...
we have to track the members of a list in the mail app separately
from groups. this is required because users can now have multiple
mailboxes. and because of that we cannot do a 1-1 mapping of group
members to mailboxes anymore. the ui is changed to select mailboxes
when creating a list.
2018-04-05 16:07:38 -07:00
Girish Ramakrishnan
2c8fa01d6d
mail: split the functions to add list and mailbox
2018-04-05 15:01:28 -07:00
Girish Ramakrishnan
5af657ee22
rename mail crud functions
2018-04-03 15:06:14 -07:00
Girish Ramakrishnan
7fac92c519
validate user id when adding mailbox
2018-04-03 14:27:09 -07:00
Girish Ramakrishnan
f8a731f63a
Add routes to change the mailbox and list owner
2018-04-03 14:12:43 -07:00
Girish Ramakrishnan
a1f4a4d614
mail: make mailbox API based on mailbox name
...
this decouples mail API from users
2018-04-03 13:59:03 -07:00
Girish Ramakrishnan
696e864459
mail: make list API based on list name
...
this decouples mail API from groups
2018-04-03 12:06:22 -07:00
Girish Ramakrishnan
678ea50f87
validateAlias -> validateName
2018-04-03 09:47:15 -07:00
Johannes Zellner
602291895c
Mention which alias is reserved
2018-04-02 14:59:10 +02:00
Johannes Zellner
df9a191434
Add rest api to list all aliases for a given domain
2018-04-01 18:23:54 +02:00
Girish Ramakrishnan
84dcdbba33
Re-assign 2020 to mail server
2018-03-21 23:15:30 -07:00
Girish Ramakrishnan
873ea0fecd
Restart mail server after DKIM keys are generated
...
Haraka won't do change notification on those
2018-03-13 09:53:41 -07:00
Girish Ramakrishnan
830c685ead
recreate mail configs when mail domain is added
2018-03-12 21:14:45 -07:00
Girish Ramakrishnan
ecf1f9255d
relay: cloudron-smtp can always be set
2018-03-08 23:23:02 -08:00
Girish Ramakrishnan
61243f6a09
Wait for DNS records call to finish
2018-03-08 20:08:01 -08:00
Girish Ramakrishnan
3922824dc6
no reason to keep retrying
2018-03-08 18:00:16 -08:00
Girish Ramakrishnan
6bc5add023
Add a way to re-sync mail DNS records
...
Also, make restore resync the admin domain record which gets messed
up by the dns setup
2018-03-08 17:59:53 -08:00
Girish Ramakrishnan
f284245e16
dkim keys are needed for the test
2018-03-08 16:10:33 -08:00
Girish Ramakrishnan
ac62ee5a16
better debug
2018-03-08 15:29:18 -08:00
Girish Ramakrishnan
ab932c4f5c
Do not regenerate domain key if domain already exists
2018-03-08 15:01:08 -08:00
Girish Ramakrishnan
36b91ae7db
Add PSBL
2018-03-05 14:26:53 -08:00
Girish Ramakrishnan
5ac1fccb98
mail: Fix crashes when user has no username yet
2018-02-28 13:31:28 -08:00
Girish Ramakrishnan
0cc58fafd6
Do not crash if user does not have username
2018-02-28 13:18:41 -08:00
Girish Ramakrishnan
470c9971f8
mail exchange does not have trailing dot
2018-02-23 17:26:28 -08:00
Girish Ramakrishnan
e9437131ff
mail: set domain_selector to be mail_from
2018-02-21 20:46:32 -08:00
Girish Ramakrishnan
06eab93f0e
restart mail container when mail.ini changes
2018-02-18 00:54:11 -08:00
Girish Ramakrishnan
bcf3e71979
Add API to remove mailboxes by domain
2018-02-11 01:18:29 -08:00
Girish Ramakrishnan
5c1f9d5686
typo
2018-02-11 00:04:28 -08:00
Girish Ramakrishnan
4d89340c7d
Handle FK error when deleting mail domain
2018-02-10 22:49:35 -08:00
Girish Ramakrishnan
79976cd29d
add an extra newline in config
2018-02-10 21:29:00 -08:00
Girish Ramakrishnan
574cf1057e
mail: ensure mail is disabled when deleting mail domain
2018-02-10 10:38:45 -08:00
Girish Ramakrishnan
459cf8d0cd
Add note on unbound at 127.0.0.1
2018-02-08 14:43:49 -08:00
Girish Ramakrishnan
3b987f1970
DNS -> Dns
2018-02-08 12:05:29 -08:00
Girish Ramakrishnan
a7b0ba2178
PTR must be resolved by the domain and not IP
2018-02-08 11:56:25 -08:00
Girish Ramakrishnan
744e6b8af0
replace the verizon smtp
2018-02-08 11:48:55 -08:00
Girish Ramakrishnan
26c95a25b6
Use the native dns resolver
...
it now supports cancel()
also, fixes #514
2018-02-08 11:37:58 -08:00
Johannes Zellner
b6384d5025
Remove intrinsicFqdn
2018-02-08 15:07:49 +01:00
Girish Ramakrishnan
e00f98884c
setup SPF record of non-primary domain correctly
2018-02-06 23:11:47 -08:00
Girish Ramakrishnan
039a31318a
Generate per-domain enable_outbound relay settings
2018-02-06 14:43:14 -08:00
Girish Ramakrishnan
da29c69be4
generate per-domain mail configuration
2018-02-05 15:13:35 -08:00
Girish Ramakrishnan
2a7eabfa68
fix test mail route
2018-02-03 18:34:11 -08:00
Girish Ramakrishnan
2873793e7b
typo
2018-01-31 22:31:19 -08:00
Girish Ramakrishnan
ab7448926f
Fix use of fallback certs
...
We used to always use nginx cert dir. When custom fallback certs
were set, we used to copy it in boxdata cert dir and then nginx cert dir.
The issue is then that we have to copy all certs to nginx cert dir on
cloudron restore.
To fix this, we simply give priority to nginx cert dir and not copy
around certs anymore. caas cert will reside in nginx cert dir and
not get backed up, as expected.
2018-01-31 18:20:29 -08:00
Girish Ramakrishnan
f379724128
merge certificates.js and nginx.js to reverseproxy.js
...
when certs change, we have to call into nginx anyway. since they
go hand in hand, just merge those files. modern reverse proxies
do this job integrated already.
2018-01-30 12:26:09 -08:00
Girish Ramakrishnan
4a4f1b883a
Rename getAdminCerticate to getCertificate
2018-01-30 11:04:13 -08:00
Girish Ramakrishnan
b2363271aa
add config.adminDomain
2018-01-28 14:26:41 -08:00
Girish Ramakrishnan
7ce79505ee
remove overcomplicated certificate events
2018-01-26 22:47:05 -08:00