Girish Ramakrishnan
f27847950c
reverseproxy: notify cert change only in cron job
...
notifying this in ensureCertificate does not work if provider changed in the middle anyway.
might as well get them to be in sync in the cronjob.
this change also resulted in tls addon getting restarted non-stop if you change from wildcard
to non-wildcard since ensureCertificate notifies the change.
2022-11-30 15:55:32 +01:00
Girish Ramakrishnan
e942b8fe7e
better debugs
2022-11-30 13:08:05 +01:00
Girish Ramakrishnan
15cc624fa5
do string compare in certs
2022-11-30 09:59:19 +01:00
Girish Ramakrishnan
302f975d5c
handle type mismatch
2022-11-29 17:13:58 +01:00
Girish Ramakrishnan
89127e1df7
reverseproxy: rework cert logic
...
9c8f78a059 already fixed many of the cert issues.
However, some issues were caught in the CI:
* The TLS addon has to be rebuilt and not just restarted. For this reason, we now
move things to a directory instead of mounting files. This way the container is just restarted.
* Cleanups must be driven by the database and not the filesystem . Deleting files on disk or after a restore,
the certs are left dangling forever in the db.
* Separate the db cert logic and disk cert logic. This way we can sync as many times as we want and whenever we want.
2022-11-29 11:07:23 +01:00
Girish Ramakrishnan
b70572a6e9
dns: fqdn only needs domain string
...
This is from the caas days, when we had hyphenated subdomains flag
2022-11-28 21:56:25 +01:00
Girish Ramakrishnan
9dac5e3406
typo
2022-11-06 11:57:45 +01:00
Girish Ramakrishnan
549cb92ce7
return swap listing in the disk route
2022-11-04 15:25:12 +01:00
Girish Ramakrishnan
ad3e593f01
mail: disallow more characters in display name
2022-11-04 08:50:47 +01:00
Girish Ramakrishnan
a2bf9180af
relay: office365 wants login AUTH
...
https://support.microsoft.com/en-us/office/outlook-com-no-longer-supports-auth-plain-authentication-07f7d5e9-1697-465f-84d2-4513d4ff0145
2022-10-27 23:18:43 +02:00
Girish Ramakrishnan
071202fb00
mail: log error
2022-10-04 10:57:42 +02:00
Girish Ramakrishnan
9cef08aa6a
mail relay: do not accept TLS servers
...
haraka can only relay via STARTTLS
2022-09-14 17:42:21 +02:00
Girish Ramakrishnan
c5b631c0e5
mail: catch all is already fully qualified
2022-09-11 13:49:20 +02:00
Girish Ramakrishnan
4e75694ac6
mail: require catch all to be absolute
2022-09-11 12:56:58 +02:00
Girish Ramakrishnan
1591541c7f
mail: allow aliases to have wildcard
...
this came out of https://forum.cloudron.io/topic/6350/disposable-email-prefixes-for-existing-mailboxes/
2022-08-18 15:22:00 +02:00
Girish Ramakrishnan
6124323d52
improve mailbox.update
2022-08-18 12:38:46 +02:00
Girish Ramakrishnan
b23189b45c
mail: quota support
2022-08-18 11:31:40 +02:00
Girish Ramakrishnan
d33fd7b886
do not use bundle terminology
...
apparently, bundle is also like a cert chain
2022-07-14 12:39:41 +05:30
Girish Ramakrishnan
2dea7f8fe9
sendmail: restrict few characters in the display name
2022-06-01 08:13:19 -07:00
Girish Ramakrishnan
85af0d96d2
sendmail: allow display name to be set
2022-06-01 01:38:16 -07:00
Girish Ramakrishnan
05d7a7f496
constness
2022-04-14 17:50:41 -05:00
Girish Ramakrishnan
193dff8c30
Better log
2022-03-03 10:08:34 -08:00
Girish Ramakrishnan
59582d081a
port25check: log the error message
2022-03-03 09:58:58 -08:00
Girish Ramakrishnan
1a87856655
eventlog: log event on alias update
2022-02-24 20:30:42 -08:00
Girish Ramakrishnan
a3e097d541
add missing awaits for eventlog.add
2022-02-24 20:04:46 -08:00
Girish Ramakrishnan
9a6694286a
eventlog: event type typo
2022-02-24 19:59:29 -08:00
Girish Ramakrishnan
feaa5585e1
mailbox: fix crash when domain not found
2022-02-17 18:03:56 -08:00
Girish Ramakrishnan
23b3070c52
add percent info when switching dashboard
2022-02-06 11:21:32 -08:00
Girish Ramakrishnan
0373fb70d5
make waitForDns async
...
cloudflare is partly broken
2022-02-03 17:35:45 -08:00
Girish Ramakrishnan
37c8ca7617
mail: use port25check.cloudron.io to check outbound port 25 connectivity
2022-01-31 16:55:56 -08:00
Girish Ramakrishnan
c4bcbb8074
mail: smtp.live.com is not reachable anymore
2022-01-31 11:20:21 -08:00
Girish Ramakrishnan
ded5db20e6
mail: use same validation logic as mailbox name for aliases as well
2022-01-10 22:06:37 -08:00
Girish Ramakrishnan
bbf1a5af3d
sysinfo: add interface to get IPv6 address
2022-01-05 18:08:15 -08:00
Girish Ramakrishnan
32668b04c6
mail: fix name validation
...
https://forum.cloudron.io/topic/6229/mailbox-name-can-only-contain-alphanumerals-and-dot/10
2022-01-05 09:55:10 -08:00
Girish Ramakrishnan
15d0dd93f4
mail: allow underscore in mail address
2022-01-04 14:02:58 -08:00
Girish Ramakrishnan
43f33a34b8
switch mail container to http
2021-12-19 12:11:47 -08:00
Girish Ramakrishnan
aab69772e6
mailbox: add app owner type
...
this is useful when we create mailboxes for the recvmail addon
2021-12-02 22:28:06 -08:00
Girish Ramakrishnan
3dcbeb11b8
mail: use dashboardDomain and not mailDomain
...
also remove unused mail_domain
2021-11-25 15:04:30 -08:00
Girish Ramakrishnan
2f510c2625
capitalize sql keywords
2021-10-26 11:19:30 -07:00
Girish Ramakrishnan
f5e025c213
mail: mailbox listing does not return pop3 status
2021-10-26 11:11:07 -07:00
Girish Ramakrishnan
22e4d956fb
mail: add option to force from address for relays
2021-10-16 22:30:28 -07:00
Girish Ramakrishnan
273a833935
mail: chmod the key file, so we can make the config dir readonly
2021-10-16 16:36:53 -07:00
Girish Ramakrishnan
da21e1ffd1
Fix typo in dkim path
2021-10-16 16:28:17 -07:00
Girish Ramakrishnan
4f9975de1b
mail: set loglevel in recovery mode
2021-10-16 16:07:35 -07:00
Girish Ramakrishnan
dc8ec9dcd8
mail: move dkim keys into the database
2021-10-11 20:30:42 -07:00
Girish Ramakrishnan
f01764617c
mail: fix rebuild
...
also fixes dangerous code that downloads mail backup if infra version is 'none'
2021-10-09 08:15:10 -07:00
Girish Ramakrishnan
000db4e33d
mail: add flag to enable/disable pop3 access per mailbox
2021-10-08 10:43:17 -07:00
Girish Ramakrishnan
f17e3b3a62
mail: export pop3 port
2021-10-07 22:06:26 -07:00
Girish Ramakrishnan
6a3cec3de8
services: add recoveryMode
2021-10-01 14:01:30 -07:00
Girish Ramakrishnan
04ff8dab1b
Fix progress message
2021-09-27 11:17:10 -07:00