Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial changes for new release. #3195

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Diman0
Copy link
Member

@Diman0 Diman0 commented Mar 16, 2024

Releases.rst and CHANGELOG.md must still be updated.

What type of PR?

preparations for new release

What does this PR do?

Preparations for new release. I must still write full changelog, new features overview and upgrade instructions.

Related issue(s)

Prerequisites

Before we can consider review and merge, please make sure the following list is done and checked.
If an entry in not applicable, you can check it or remove it from the list.

  • In case of feature or enhancement: documentation updated accordingly
  • Unless it's docs or a minor change: add changelog entry file.

Copy link
Contributor

mergify bot commented Mar 16, 2024

Thanks for submitting this pull request.
Bors-ng will now build test images. When it succeeds, we will continue to review and test your PR.

bors try

Note: if this build fails, read this.

bors-mailu bot added a commit that referenced this pull request Mar 16, 2024
@Diman0 Diman0 added the status/wip Work in progress. This will block mergify until the label is removed. label Mar 16, 2024
@bors-mailu
Copy link
Contributor

bors-mailu bot commented Mar 16, 2024

try

Build failed:

docs/releases.rst Outdated Show resolved Hide resolved
@Diman0
Copy link
Member Author

Diman0 commented Mar 18, 2024

bors try

bors-mailu bot added a commit that referenced this pull request Mar 18, 2024
@bors-mailu
Copy link
Contributor

bors-mailu bot commented Mar 18, 2024

try

Build succeeded:

@Diman0
Copy link
Member Author

Diman0 commented Mar 18, 2024

bors try

bors-mailu bot added a commit that referenced this pull request Mar 18, 2024
@bors-mailu
Copy link
Contributor

bors-mailu bot commented Mar 18, 2024

try

Build succeeded:

@Diman0 Diman0 added this to the 2024.x milestone Apr 17, 2024
Highlights
``````````

Managieve sieve support
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Managieve sieve support
Managieve sieve support
^^^^^^^^^^^^^^^^^^^^^^^

``````````

Managieve sieve support
Previously the sieve filters could only be edited via the webmail client. It is now also possible to use an external sieve client for manageming the sieve rules. Configure the sieve client to connect to Mailu on the default sieve port 4190.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Previously the sieve filters could only be edited via the webmail client. It is now also possible to use an external sieve client for manageming the sieve rules. Configure the sieve client to connect to Mailu on the default sieve port 4190.
It is now also possible to use [an external sieve client](http://sieve.info/clients) for managing sieve rules using port 4190. Previously sieve filters could only be edited through webmails.

^^^^^^^^^^^^^^^^^^^^^^^^
The User interface is enhanced with the quota bytes used (quota_bytes_used) attribute. This attribute states the usage (in bytes) of the mailbox. In combination with the attribute quota_bytes, it is possible to check how much storage an user has left via the RESTful API.

The new `token` endpoint allows the management of authentication tokens. It is recommened to create authentication tokens for all users and configure the email clients to use these authentication tokens for connecting to Mailu.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The new `token` endpoint allows the management of authentication tokens. It is recommened to create authentication tokens for all users and configure the email clients to use these authentication tokens for connecting to Mailu.
The new `token` endpoint allows the management of authentication tokens. It is **strongly** recommended to create authentication tokens for all users and to configure email clients to use these authentication tokens for connecting to Mailu instead of user passwords. Tokens are not subject to rate-limiting and are verified server-side in a less resource intensive way. Their usage can be enforced using the newly introduced [AUTH_REQUIRE_TOKENS](https://mailu.io/master/configuration.html#advanced-settings) setting.


Force password change
^^^^^^^^^^^^^^^^^^^^^
A setting is introduced to force an user to change its password. After changing the password, all sessions are invalidated.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
A setting is introduced to force an user to change its password. After changing the password, all sessions are invalidated.
This new feature has been introduced to coerce a user into changing his password. When a password is changed, all associated sessions are invalidated.

* Chinese
* Persion (a.k.a Farsi)
* Ukrainian

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update if #3207 and #3209 make it.

IMHO we should credit the translators here, especially for new translations


The dovecot indexer has been switched from fts-xapian to fts-flatcurve. In the future this will be the new default indexer for dovecot. This indexer is quicker and results in smaller index files.

Apache Tika has been added to Mailu to add support for attachments indexing. As a result the server-side search functionality does not only search through emails, but also through the attachments of emails.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Apache Tika has been added to Mailu to add support for attachments indexing. As a result the server-side search functionality does not only search through emails, but also through the attachments of emails.
Apache Tika has been added to Mailu to add support for attachments indexing. The server-side search functionality now crawls through both emails and their attachments (including office documents, PDFs, images via OCR).


Improved mailbox indexer and full attachment indexing
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The dovecot indexer indexes all emails for the server-side search functionality. It is used when searching via the webmail client. In email clients it might be required to enable server-side searching.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The dovecot indexer indexes all emails for the server-side search functionality. It is used when searching via the webmail client. In email clients it might be required to enable server-side searching.
Full Text Search has now been improved and server-side search enabled by default on webmails. Other email clients may need to be reconfigured to ensure searches are performed server-side.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The environment variable `AUTH_REQUIRE_TOKENS` has been introduced. This setting can be enabled to force email clients to use authentication tokens (instead of passwords) for authenticating to Mailu. Note that authentication tokens can now also be generated via the RESTful API.

It is recommended to use authentication tokens instead of passwords for connecting email clients to Mailu.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
It is recommended to use authentication tokens instead of passwords for connecting email clients to Mailu.
It is recommended to use authentication tokens instead of passwords for connecting email clients to Mailu as verifying them is less resource intensive server-side and they are not subject to rate limits (since they cannot be brute-forced online by a potential attacker).


The new FAQ entry `How can I view and export the logs of a Mailu container?` describes how log files can be viewed via journald. It also provides instructions for how to install and configure rsyslogd for saving container logs to file system (including log rotation).

The hardened malloc is disabled by default
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That heading is wrong. It is not disabled by default... we just enable it later in the process once we have ensured the CPU can handle it.

For optimal protection we do recommend that users set the variable so that it gets enabled sooner that it would otherwise be.

docker compose exec imap doveadm user '*'|while read u; do docker compose exec imap doveadm index -u $u '*'; done


Enabled the hardened memory allocator
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be consolidated with The hardened malloc is disabled by default above

.. code-block:: bash

docker compose exec imap doveadm fts rescan -A
docker compose exec imap doveadm user '*'|while read u; do docker compose exec imap doveadm index -u $u '*'; done
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
docker compose exec imap doveadm user '*'|while read u; do docker compose exec imap doveadm index -u $u '*'; done
docker compose exec imap doveadm user '*'|while read u; do echo "re-indexing $u";docker compose exec -T imap doveadm index -u $u '*'; done

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or even we could use an until loop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/wip Work in progress. This will block mergify until the label is removed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants