David Duque
14ee44e8e2
HTML JS Cleanup
2020-04-14 09:52:01 +01:00
Michael Becker
40b21c466d
Fypo fix in users.html ( #1748 )
2020-04-13 22:10:52 -04:00
David Duque
109d8735c7
Change admin panel footer
2020-04-13 19:32:38 +01:00
David Duque
ee688eb184
SMTP Relay Host stub progress
2020-04-13 18:36:56 +01:00
David Duque
c004e55c76
SMTP Relay Host stub progress
2020-04-13 18:29:14 +01:00
David Duque
6e462f6523
SMTP Relay Host stub progress
2020-04-13 18:21:33 +01:00
David Duque
51c288dcd5
SMTP Relay Host stub progress
2020-04-13 18:14:39 +01:00
David Duque
6393075f11
SMTP Relay Host stub progress
2020-04-13 18:09:04 +01:00
David Duque
9d23f67e8a
SMTP Relay Host stub progress
2020-04-13 18:05:49 +01:00
David Duque
10993b9154
SMTP Relay Host stub progress
2020-04-13 17:55:00 +01:00
David Duque
3278c8cf94
SMTP Relay Host stub progress
2020-04-13 16:18:26 +01:00
David Duque
aa62c6349e
SMTP Relay Host stub progress
2020-04-13 16:13:26 +01:00
David Duque
30221bdb11
SMTP Relay Host stub progress
2020-04-13 15:57:56 +01:00
David Duque
664267357a
SMTP Relay Host stub progress
2020-04-13 15:53:47 +01:00
David Duque
4a20d50eea
SMTP Relay Host stub
2020-04-13 15:34:14 +01:00
David Duque
cd4c478986
Add smtp relay html page
2020-04-13 01:24:36 +01:00
David Duque
974c9bba61
Fix status check colors, add SMTP relay stub
2020-04-13 01:16:23 +01:00
David Duque
0d17caccfe
Downgrade port 25 blockage error to warn; mention SMTP relays
2020-04-13 01:10:38 +01:00
David Duque
8d7f6bfb19
Change all occurrences of PHP 7.2 to PHP 7.3
2020-04-13 00:55:48 +01:00
David Duque
edb03b7862
Misc changes
2020-04-12 23:54:35 +01:00
Sumit
d67e09f334
Allowing adding nginx aliases in www/custom.yaml ( #1742 )
...
with this nginx will keep on proxying requests and serve static content
instead of passing this responsibility to proxied server
Without this the one needs to run an additional server to server static
content on the proxied url
2020-04-11 14:17:46 -04:00
Jarek Jurasz
db9637ce4f
Fix Feb 29 issue #1733
2020-03-03 20:59:28 +01:00
Jarek Jurasz
f908bc364e
mail_log.py reading forward #1593
2020-03-03 20:56:30 +01:00
Matthias Hähnel
cd62fd9826
Update usage hint in backup.py ( #1662 )
...
removed explicit call of the system python, cause the file has a shebang with the mail-in-a-box shipped python.
for me the system python complaint, that it is missing some modules
2019-11-23 08:04:22 -05:00
Joshua Tauberer
f6f75f6fab
Don't fail when resolving zone transfer IP addresses since a nameserver may not have an IPv6 address
2019-11-19 09:57:33 -05:00
Edwin Schaap
2f54f39f31
If xfr is subnet, do not create "notify" entry ( #1672 )
2019-11-10 11:58:22 -05:00
Dan Jensen
cde4e0caca
Change SSL notification email subject ( #1653 )
...
Previously the notification email sent when a box's SSL certificate
is automatically updated said, "Error Provisioning TLS Certificate"
even when there was no error. This changes the subject line to "TLS
Certificate Provisioning Results", which is more accurate.
2019-11-02 15:29:05 -04:00
notEvil
7558ffd4f3
Allow dns zone transfer from IPv6 ( #1643 )
2019-10-28 06:31:50 -04:00
Victor
50e9e8af30
Sort custom dns table based on fqdn, rtype, and value ( #1651 )
2019-10-28 06:29:40 -04:00
Joshua Tauberer
a70ba94b0c
add autoconfig domains before subtracting domains with overridden A records so that a custom DNS record can be used to suppress TLS certificate generation for those domains if needed
2019-09-10 07:11:16 -04:00
Joshua Tauberer
3ff9817325
document the xfr: CIDR notation, fix spaces vs tabs and syntax error, broken by c7377e602d
, #1616
2019-08-31 08:50:44 -04:00
Kim Schulz
c7377e602d
make it possible to use subnet addresses for axfr ( #1616 )
...
it is sometimes needed to be able to set axfr to more than just one ip address. This can be done with multiple xfr: in the secondary dns input but if you need to add an entire subnet segment (xxx.xxx.xxx.0/yy) then it will not work.
With this patch it is now possible to use a subnet as input for xfr the same way as if it was an ip address.
2019-08-31 08:00:18 -04:00
Snacho
08021ea19f
Fix an issue when Secondary NS has multiple A records ( #1633 )
...
If a custom secondary NS server has multiple A records status_checks.py will fail with a timeout and Web UI won't load.
2019-08-31 07:58:12 -04:00
captainwasabi
c4cb828f65
Fix rsync backup options string: extraneous single quotes causing problems ( #1629 )
...
The resulting command had nested single quotes which doesn't work
I think this fixes all/most of the issues in #1627 . I am getting a full backup, then the next time it's run I get an incremental. running from the CLI with --status looks good, --verify looks good, and --list looks good.
2019-08-13 05:57:05 -04:00
captainwasabi
0657f9e875
add proper check for DNS error in list_target_files ( #1625 )
...
The elif needed to check to see if the string was in the listing of results of the shell command. As it was the conditional was just the string which always evaluates to true and was therefore giving a misleading error message.
2019-08-13 05:47:11 -04:00
jvolkenant
fd5b11823c
Add AAAA records for autodiscover & autoconfig ( #1606 )
2019-07-10 06:28:37 -04:00
Michael Heuberger
0d4c693792
Add missing login form method to keep LastPass happy ( #1565 )
2019-05-12 05:10:34 -07:00
Pascal Garber
77b2246010
Backup Amazon S3: Added support for custom endpoints ( #1427 )
2019-05-12 05:09:30 -07:00
jvolkenant
aff80ac58c
Autodiscovery fix for additional hosted email domains, Fixes #941 ( #1467 )
2019-05-09 10:13:23 -07:00
mbraem
fb25013334
user privileges is a set ( #1551 )
...
fixes #1540
2019-04-14 14:17:43 -04:00
Ryan Stubbs
bad38840d8
Fix type on alias edit page ( #1520 )
2019-02-11 20:14:56 -05:00
Joshua Tauberer
0d4565e71d
merge master branch
2018-12-02 18:19:15 -05:00
Joshua Tauberer
a211ad422b
add a note on the aliases page that aliases should not be used to forward to outside domains
...
fixes #1198
2018-12-02 18:02:00 -05:00
Joshua Tauberer
ef28a1defd
show the Mail-in-a-Box version in the system status checks even when the new-version check is disabled
...
fixes #922
2018-12-02 18:02:00 -05:00
Joshua Tauberer
c5c413b447
remove user account mailbox size from the control panel because it takes way too long to compute on very large mailboxes
...
fixes #531
2018-12-02 18:02:00 -05:00
Joshua Tauberer
d2beb3919b
document password character limitation
...
fixes #407
2018-12-02 18:02:00 -05:00
jeff-h
000363492e
Improve greylisting explanation. ( #1447 )
...
Hopefully this improves the accuracy of the greylisting description.
2018-12-02 17:58:26 -05:00
jeff-h
5be74dec6e
Improve postgrey logging ( #1448 )
...
We can't presume the redelivery timeframe of the sending server. However, we do know the blacklist timeframe within which we will reject a redelivery.
2018-12-02 17:57:37 -05:00
Joshua Tauberer
870b82637a
fix some wrong variable names, fixes #1353
2018-11-30 10:46:54 -05:00
Joshua Tauberer
dc6458623d
add a note on the aliases page that aliases should not be used to forward to outside domains
...
fixes #1198
2018-11-30 10:46:54 -05:00
Joshua Tauberer
60f9c9e3b7
show the Mail-in-a-Box version in the system status checks even when the new-version check is disabled
...
fixes #922
2018-11-30 10:46:54 -05:00
Joshua Tauberer
b05b06c74a
remove user account mailbox size from the control panel because it takes way too long to compute on very large mailboxes
...
fixes #531
2018-11-30 10:46:54 -05:00
Joshua Tauberer
7f8f4518e3
document password character limitation
...
fixes #407
2018-11-30 10:46:54 -05:00
Joshua Tauberer
86e2cfb6c8
remove old duplicity migration code from 2015, see 42322455
2018-11-30 10:46:54 -05:00
Joshua Tauberer
f739662392
duplicity started creating signature files with invalid filenames, fixes #1431
2018-10-13 16:16:30 -04:00
Joshua Tauberer
3dbd6c994a
update bind9 configuration
2018-10-03 14:28:43 -04:00
Joshua Tauberer
bbfa01f33a
update to PHP 7.2
...
* drop the ondrej/php PPA since PHP 7.x is available directly from Ubuntu 18.04
* intall PHP 7.2 which is just the "php" package in Ubuntu 18.04
* some package names changed, some unnecessary packages are no longer provided
* update paths
2018-10-03 13:00:15 -04:00
Christopher A. DeFlumeri
d96613b8fe
minimal changeset to get things working on 18.04
...
@joshdata squashed pull request #1398 , removed some comments, and added these notes:
* The old init.d script for the management daemon is replaced with a systemd service.
* A systemd service configuration is added to configure permissions for munin on startup.
* nginx SSL settings are updated because nginx's options and defaults have changed, and we now enable http2.
* Automatic SSHFP record generation is updated to know that 22 is the default SSH daemon port, since it is no longer explicit in sshd_config.
* The dovecot-lucene package is dropped because the Mail-in-a-Box PPA where we built the package has not been updated for Ubuntu 18.04.
* The stock postgrey package is installed instead of the one from our PPA (which we no longer support), which loses the automatic whitelisting of DNSWL.org-whitelisted senders.
* Drop memcached and the status check for memcached, which we used to use with ownCloud long ago but are no longer installing.
* Other minor changes.
2018-10-03 13:00:06 -04:00
hlxnd
f420294819
Use ISO 8601 on backups table dates.
2018-08-05 15:26:45 +02:00
Joshua Tauberer
2f467556bd
new ssl cert provisioning broke if a domain doesnt yet have a cert, fixes #1392
2018-07-19 11:40:49 -04:00
Joshua Tauberer
2a72c800f6
replace free_tls_certificates with certbot
2018-06-29 16:46:21 -04:00
Joshua Tauberer
8be23d5ef6
ssl_certificates: reuse query_dns function in status_checks and simplify calls by calling normalize_ip within query_dns
2018-06-29 16:46:21 -04:00
Joshua Tauberer
1eba7b0616
send the mail_log.py report to the box admin every Monday
2018-02-25 11:55:06 -05:00
Joshua Tauberer
9c7820f422
mail_log.py: include sent mail in the logins report in a new smtp column
2018-02-24 09:24:15 -05:00
Joshua Tauberer
87ec4e9f82
mail_log.py: refactor the dovecot login collector
2018-02-24 09:24:14 -05:00
Joshua Tauberer
08becf7fa3
the hidden feature for proxying web requests now sets X-Forwarded-For
2018-02-24 09:24:14 -05:00
NatCC
fe597da7aa
Update users.html ( #1345 )
...
Passwords must be eight characters long; when passwords are changed via the users page the dialog states that passwords need to be at least four characters but only eight or more are acceptable.
2018-02-03 17:49:11 -05:00
Joshua Tauberer
61e9888a85
Cdon't try to generate a CSR in the control panel until both the domain and country are selected
...
Fixes #1338 .
See 0e9680fda63c33ace3f34ca7126617fb0efe8ffc, a52c56e571
.
2018-01-28 09:08:24 -05:00
Joshua Tauberer
ef6f121491
when generating a CSR in the control panel, don't set empty attributes
...
Same as in a52c56e571
.
Fixes #1338 .
2018-01-28 09:07:54 -05:00
Joshua Tauberer
8d6d84d87f
run mailconfig.py's email address validator outside of the virtualenv during questions.sh
...
We don't have the virtualenv this early in setup.
Broken by 0088fb4553
.
Fixes #1326 .
See https://discourse.mailinabox.email/t/that-is-not-a-valid-email-error-during-mailinabox-installation/2793 .
2018-01-20 10:59:37 -05:00
Joshua Tauberer
0088fb4553
install Python 3 packages in a virtualenv
...
The cryptography package has created all sorts of installation trouble over the last few years, probably because of mismatches between OS-installed packages and pip-installed packages. Using a virtualenv for all Python packages used by the management daemon should make sure everything is consistent.
See #1298 , see #1264 .
2018-01-15 13:27:04 -05:00
Joshua Tauberer
5f14eca67f
merge v0.25 security release
2017-11-15 11:27:30 -05:00
John Olten
544f155948
Add support for DNS wildcard [merges #1281 ]
2017-11-15 11:10:59 -05:00
Jānis (Yannis)
7bf377eed1
use RSASHA256 for .lv domains DNSSEC ( #1277 )
2017-10-31 18:01:47 -04:00
Nicolas North
cd554cf480
document the "local" alias pointing to this box in Custom DNS ( #1261 )
2017-10-20 17:20:21 -04:00
Fabian Bucher
341aa8695a
update F-Droid DAVdroid link ( #1253 )
...
the information about the invalid link comes from here -> https://discourse.mailinabox.email/t/admin-sync-guide-contacts-and-calendar-davdroid-3-69-free-here/2528
2017-10-04 17:47:15 -04:00
Joshua Tauberer
cc7be13098
update nginx cipher list to Mozilla's current intermediate ciphers and update HSTS header to be six months
...
* The Mozilla recommendations must have been updated in the last few years.
* The HSTS header must have >=6 months to get an A+ at ssllabs.com/ssltest.
2017-10-03 11:47:32 -04:00
Joshua Tauberer
35b8a149d8
fix dns regex: underscores are allowed in domain names even though they are not allowed in hostnames
2017-09-22 12:31:49 -04:00
Marius Blüm
48ff664ee9
Remove the ? from "Log out" ( #1231 )
...
Signed-off-by: Marius Blüm <marius@lineone.io>
2017-08-23 19:46:45 -04:00
Git Repository
19a928e4ec
[Issue #1159 ] Remove any +tag name in email alias before checking privileges ( #1181 )
...
* [Issue #1159 ] Remove any +tag name in email alias before checking privileges
* Move priprivileged email check after the conversion to unicode so only IDNA serves as input
2017-07-21 11:10:16 -04:00
Michael Kroes
78f2fe213e
Secondary name server could not be set ( #1209 )
2017-07-21 08:20:37 -04:00
Michael Kroes
a16855ecf0
Backup script should now stop php7.0-fpm instead of php5-fpm ( #1206 )
2017-07-17 09:45:40 -04:00
Michael Kroes
2c324d0bc9
web_domains should also normalize ipv6 addresses ( #1201 )
2017-07-13 07:16:12 -04:00
François Deppierraz
46ba62b7b1
Add support for NS records in custom domains ( #1177 )
2017-06-11 07:56:30 -04:00
Michael Kroes
e49c99890b
fetch whole bootstrap - fixes missing icons in admin ( #1185 )
2017-05-31 07:36:17 -04:00
Git Repository
18f1689f45
changed the location we store the web-assets for the admin pages to /usr/local/mailinabox ( #1179 )
2017-05-23 19:22:53 -04:00
Git Repository
8234a5a9f4
download jQuery and Bootstrap during setup and serve locally so that we don't rely on a CDN which is blocked in some parts of the world ( #1167 ) ( #1171 )
2017-05-08 07:25:16 -04:00
Michael Kroes
d2b7204319
Add support for adding a custom "CAA" DNS record ( #1155 )
2017-04-30 08:58:00 -04:00
Joshua Tauberer
add985ce5d
letencrypt now supports idna, remove the check/block
2017-04-17 07:45:08 -04:00
yodax
b66f12dd4c
Fix rsync backup. The path was not append properly
2017-04-17 07:25:47 -04:00
yodax
6e04eb490f
Add check to prevent division by zero during backup status
2017-04-17 07:25:47 -04:00
Michael Kroes
a072730fb8
Wrap normalize_ip in try..except ( #1139 )
...
closes #1134
2017-04-03 16:53:53 -04:00
Rinze de Laat
9c9cae2096
Added an alternative mail log scanning script for use from the command line (and monitoring, at a later stage)
...
merges #970
2017-03-26 09:13:35 -04:00
Théo Segonds
423f1907d0
Fix zpush compatibility list link ( #1076 )
2017-03-26 09:09:00 -04:00
Sean Watson
86621392f6
support SSHFP records for custom domains ( #1114 )
2017-03-09 09:05:52 -05:00
Sean Watson
368b9c50d0
add DSA and ED25519 SSHFP records if those keys are present ( #1078 )
2017-03-01 08:02:41 -05:00
Ian Beringer
89222d519a
Fix date delta display for deltas greater than 1 year ( #1099 )
2017-02-15 18:24:32 -05:00
Dominik Murzynowski
36bef2ee16
Change password min-length to 8 characters ( #1098 )
2017-02-14 14:24:59 -05:00
Joshua Tauberer
a24977a96e
normalize_ip for ipv6 still not correct, was broken if box has no IPv6 address
2017-01-18 07:51:59 -05:00
Joshua Tauberer
a081d04082
move the custom exclusive process code from utils.py into a new python package named exclusiveprocess
2017-01-15 11:02:23 -05:00