2019-01-18 21:53:38 +02:00
.. _faq:
2018-10-12 19:48:44 +02:00
Frequently asked questions
==========================
Informational
-------------
Where to ask questions?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
First, please read this FAQ to check if your question is listed here.
2022-07-26 11:33:39 +02:00
Simple questions are best asked in our `Matrix`_ room.
2018-10-12 19:48:44 +02:00
For more complex questions, you can always open a `new issue`_ on GitHub.
We actively monitor the issues list.
My installation is broken!
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2022-07-26 11:33:39 +02:00
We are sorry to hear that. Please check for common mistakes and troubleshooting
2018-10-12 19:48:44 +02:00
advice in the `Technical issues`_ section of this page.
I think I found a bug!
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2022-09-25 10:18:09 +02:00
If you did not manage to solve the issue using this FAQ and there are not any
2022-07-26 11:33:39 +02:00
`open issues`_ describing the same problem, you can open a
2018-10-12 19:48:44 +02:00
`new issue`_ on GitHub.
I want a new feature or enhancement!
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
Great! We are always open for suggestions. We currently maintain two tags:
- `Enhancement issues`_ : Typically used for optimization of features in the project.
- `Feature request issues`_ : For implementing new functionality,
plugins and applications.
Please check if your idea (or something similar) is already mentioned there.
If there is one open, you can choose to vote with a thumbs up, so we can
estimate the popular demand. Please refrain from writing comments like
*"me too"* as it clobbers the actual discussion.
If you can't find anything similar, you can open a `new issue`_ .
Please also share (where applicable):
- Use case: how does this improve the project?
2022-07-26 11:33:39 +02:00
- Any research done on the subject. Perhaps some links to upstream websites,
2018-10-12 19:48:44 +02:00
reference implementations etc.
Why does my feature/bug take so long to solve?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
You should be aware that creating, maintaining and expanding a mail server
distribution requires a lot of effort. Mail servers are highly exposed to hacking attempts,
open relay scanners, spam and malware distributors etc. We need to work in a safe way and
have to prevent pushing out something quickly.
2018-10-13 20:13:09 +02:00
**TODO: Move the next section into the contributors part of docs**
2018-10-12 19:48:44 +02:00
We currently maintain a strict work flow:
#. Someone writes a solution and sends a pull request;
2021-06-26 21:16:56 +02:00
#. We use Github actions for some very basic building and testing;
2018-10-12 19:48:44 +02:00
#. The pull request needs to be code-reviewed and tested by at least two members
from the contributors team.
2022-09-25 10:18:09 +02:00
2018-10-12 19:48:44 +02:00
Please consider that this project is mostly developed in people their free time.
We thank you for your understanding and patience.
2018-10-13 20:13:09 +02:00
I would like to donate (for a feature)
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2018-10-12 19:48:44 +02:00
2022-10-19 19:36:13 +02:00
We maintain a `Community Bridge`_ project through which you can donate.
2019-10-21 14:00:49 +02:00
This budget will be used to pay for development of features, mentorship and hopefully future events.
Contributing companies or individuals can be paid from this budget to support their development efforts.
2022-10-19 19:36:13 +02:00
We are also looking into GitHub's integrated sponsorship program for individual contributors.
2019-10-21 14:00:49 +02:00
Once those become available, we will add them to the project.
Please click the |sponsor| button on top of our GitHub Page for current possibilities.
.. |sponsor| image :: assets/sponsor-button.png
:height: 1.2em
:alt: sponsor
:target: `GitHub`_
2018-10-12 19:48:44 +02:00
.. _`Matrix`: https://matrix.to/#/#mailu:tedomum.net
.. _`open issues`: https://github.com/Mailu/Mailu/issues
.. _`new issue`: https://github.com/Mailu/Mailu/issues/new
.. _`Enhancement issues`: https://github.com/Mailu/Mailu/issues?q=is%3Aissue+is%3Aopen+label%3Atype%2Fenhancement
.. _`Feature request issues`: https://github.com/Mailu/Mailu/issues?q=is%3Aopen+is%3Aissue+label%3Atype%2Ffeature
2019-10-21 14:00:49 +02:00
.. _`GitHub`: https://github.com/Mailu/Mailu
2022-10-19 19:36:13 +02:00
.. _`Community Bridge`: https://funding.communitybridge.org/projects/mailu
2018-10-12 19:48:44 +02:00
Deployment related
------------------
2018-12-31 04:13:25 +02:00
What is the difference between DOMAIN and HOSTNAMES?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2019-01-02 19:15:56 +02:00
Similar questions:
2018-12-31 04:13:25 +02:00
- Changing domain doesn't work
- Do I need a certificate for `` DOMAIN `` ?
`` DOMAIN `` is the main mail domain. Aka, server identification for outgoing mail. DMARC reports point to `` POSTMASTER `` @ `` DOMAIN `` .
These are really the only things it is used for. You don't need a cert for `` DOMAIN `` , as it is a mail domain only and not used as host in any sense.
However, it is usual that `` DOMAIN `` gets setup as one of the many mail domains. None of the mail domains ever need a certificate.
TLS certificates work on host connection level only.
`` HOSTNAMES `` however, can be used to connect to the server. All host names supplied in this variable will need a certificate. When `` TLS_FLAVOR=letsencrypt `` is set,
a certificate is requested automatically for all those domains.
So when you have something like this:
.. code-block :: bash
DOMAIN=example.com
POSTMASTER=me
HOSTNAMES=mail.example.com,mail.foo.com,bar.com
TLS_FLAVOR=letsencrypt
- You'll end up with a DMARC address to `` me@example.com `` .
- Server identifies itself as the SMTP server of `` @example.com `` when sending mail. Make sure your reverse DNS hostname is part of that domain!
- Your server will have certificates for the 3 hostnames. You will need to create `` A `` and `` AAAA `` records for those names,
pointing to the IP addresses of your server.
- The admin interface generates `` MX `` and `` SPF `` examples which point to the first entry of `` HOSTNAMES `` but these are only examples.
You can modify them to use any other `` HOSTNAMES `` entry.
2020-12-21 01:19:27 +02:00
Your mail service will be reachable for IMAP, POP3, SMTP and Webmail at the addresses:
2018-12-31 04:13:25 +02:00
- mail.example.com
- mail.foo.com
- bar.com
.. note ::
In this case `` example.com `` is not reachable as a host and will not have a certificate.
It can be used as a mail domain if MX is setup to point to one of the `` HOSTNAMES `` . However, it is possible to include `` example.com `` in `` HOSTNAMES `` .
*Issue reference:* `742`_ , `747`_ .
2019-01-17 17:56:00 +02:00
How to make IPv6 work?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2022-03-09 14:24:59 +02:00
Docker IPv6 interfacing with `` ip6tables `` , which is required for proper IPv6 support, is currently considered experimental.
2019-01-17 17:56:00 +02:00
2023-01-25 17:18:09 +02:00
Although the supposed way to enable IPv6 would be to give each container a publicly routable address, docker's IPv6 support
uses NAT to pass outside connections to the containers.
Currently we recommend to use `docker-ipv6nat` by `Robert Klarenbeek <https://github.com/robbertkl>` instead of docker's
experimental support.
Before enabling IPv6 you **MUST** disable the userland-proxy in your `` /etc/docker/daemon.json `` to not create an Open Relay!
.. code-block :: json
{
"userland-proxy": false
}
You can enable `docker-ipv6nat` like this:
docker run -d --name ipv6nat --privileged --network host --restart unless-stopped -v /var/run/docker.sock:/var/run/docker.sock:ro -v /lib/modules:/lib/modules:ro robbertkl/ipv6nat
If you want to try docker's experimental IPv6 support, it can be enabled like this:
2022-03-09 14:24:59 +02:00
.. code-block :: json
{
2023-01-25 17:18:09 +02:00
"userland-proxy": false,
2022-03-09 14:24:59 +02:00
"ipv6": true,
"experimental": true,
"fixed-cidr-v6": "fd00:1234:abcd::/48",
"ip6tables": true
}
and enabling the IPv6 checkbox in the `setup utility`_ .
2019-01-17 17:56:00 +02:00
2022-03-09 14:24:59 +02:00
This setup however is not officially supported, and might result in unforeseen issues.
With bad misconfiguration you might even cause your instance to become an Open Relay, you have been warned!
2019-01-17 17:56:00 +02:00
.. _`setup utility`: https://setup.mailu.io
2018-10-22 15:14:54 +02:00
How does Mailu scale up?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2022-11-24 17:23:53 +02:00
Recent works allow Mailu to be deployed in Docker Kubernetes.
This means it can be scaled horizontally. For more information, refer to :ref: `kubernetes` .
2018-10-22 15:14:54 +02:00
*Issue reference:* `165`_ , `520`_ .
How to achieve HA / failover?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
The mailboxes and databases for Mailu are kept on the host filesystem under `` $ROOT/ `` .
For making the **storage** highly available, all sorts of techniques can be used:
- Local raid-1
- btrfs in raid configuration
- Distributed network filesystems such as GlusterFS or CEPH
2022-07-26 11:33:39 +02:00
Note that no storage HA solution can protect against accidental deletes or file corruptions.
2018-10-22 15:14:54 +02:00
Therefore it is advised to create backups on a regular base!
A backup MX can be configured as **failover** . For this you need a separate server running
Mailu. On that server, your domains will need to be setup as "Relayed domains", pointing
2022-10-19 19:36:13 +02:00
to you main server. MX records for the mail domains with a higher priority number will have
2022-07-28 13:56:46 +02:00
to point to this server. Please be aware that a backup MX can act as a `spam magnet`_ (archive.org).
2018-10-22 15:14:54 +02:00
For **service** HA, please see: `How does Mailu scale up?`_
*Issue reference:* `177`_ , `591`_ .
2022-09-25 10:18:09 +02:00
.. _`spam magnet`: https://web.archive.org/web/20130131032707/https://blog.zensoftware.co.uk/2012/07/02/why-we-tend-to-recommend-not-having-a-secondary-mx-these-days/
2018-10-22 15:14:54 +02:00
2018-12-31 04:51:12 +02:00
Does Mailu run on Rancher?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
There is a rancher catalog for Mailu in the `Mailu/Rancher`_ repository. The user group for Rancher is small,
2022-07-26 11:33:39 +02:00
so we cannot promise any support on this when you are heading into trouble. See the repository README for more details.
2018-12-31 04:51:12 +02:00
*Issue reference:* `125`_ .
.. _`Mailu/Rancher`: https://github.com/Mailu/Rancher
2018-10-22 15:14:54 +02:00
Can I run Mailu without host iptables?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
When disabling iptables in docker, its forwarding proxy process takes over.
This creates the situation that every incoming connection on port 25 seems to come from the
local network (docker's 172.17.x.x) and is accepted. This causes an open relay!
For that reason we do **not** support deployment on Docker hosts without iptables.
*Issue reference:* `332`_ .
2020-08-11 20:59:25 +02:00
.. _override-label:
2018-10-22 15:14:54 +02:00
How can I override settings?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2019-01-02 11:59:19 +02:00
Postfix, Dovecot, Nginx and Rspamd support overriding configuration files. Override files belong in
2018-10-22 15:14:54 +02:00
`` $ROOT/overrides `` . Please refer to the official documentation of those programs for the
correct syntax. The following file names will be taken as override configuration:
2020-12-23 19:48:11 +02:00
- `Postfix`_ :
2021-02-13 18:35:33 +02:00
- `` main.cf `` as `` $ROOT/overrides/postfix/postfix.cf ``
- `` master.cf `` as `` $ROOT/overrides/postfix/postfix.master ``
- All `` $ROOT/overrides/postfix/*.map `` files
2021-05-13 18:59:18 +02:00
- For both `` postfix.cf `` and `` postfix.master `` , you need to put one configuration per line, as they are fed line-by-line
to postfix.
2021-12-01 14:40:28 +02:00
- `` logrotate.conf `` as `` $ROOT/overrides/postfix/logrotate.conf `` - Replaces the logrotate.conf file used for rotating `` POSTFIX_LOG_FILE `` .
2020-05-02 10:35:37 +02:00
- `Dovecot`_ - `` dovecot.conf `` in dovecot sub-directory;
- `Nginx`_ - All `` *.conf `` files in the `` nginx `` sub-directory;
2018-10-22 15:14:54 +02:00
- `Rspamd`_ - All files in the `` rspamd `` sub-directory.
2022-08-20 00:56:02 +02:00
- `Roundcube`_ - All `` *.inc.php `` files in the `` roundcube `` sub directory.
2018-10-22 15:14:54 +02:00
2020-10-05 16:13:07 +02:00
To override the root location (`` / `` ) in Nginx `` WEBROOT_REDIRECT `` needs to be set to `` none `` in the env file (see :ref: `web settings <web_settings>` ).
2020-06-26 13:42:45 +02:00
*Issue reference:* `206`_ , `1368`_ .
2018-12-31 04:38:59 +02:00
2019-06-15 16:15:49 +02:00
I want to integrate Nextcloud 15 (and newer) with Mailu
2019-08-27 09:34:46 +02:00
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2019-01-04 11:19:43 +02:00
2019-06-15 16:20:05 +02:00
1. Enable External user support from Nextcloud Apps interface
2019-01-04 11:19:43 +02:00
2019-06-15 16:20:05 +02:00
2. Configure additional user backends in Nextcloud’s configuration config/config.php using the following syntax if you use at least Nextcloud 15.
2019-01-04 11:19:43 +02:00
.. code-block :: bash
<?php
2019-05-23 12:57:23 +02:00
/** Use this for Nextcloud 15 and newer ** /
'user_backends' => array(
array(
'class' => 'OC_User_IMAP',
'arguments' => array(
2019-06-15 16:15:49 +02:00
'127.0.0.1', 993, 'ssl', 'example.com', true, false
2019-05-23 12:57:23 +02:00
),
),
),
2022-09-25 10:18:09 +02:00
2019-05-23 12:57:23 +02:00
2019-06-15 16:15:49 +02:00
If a domain name (e.g. example.com) is specified, then this makes sure that only users from this domain will be allowed to login.
2022-10-19 19:36:13 +02:00
After successfull login the domain part will be stripped and the rest used as username in Nextcloud. e.g. 'username@example.com' will be 'username' in Nextcloud. Disable this behaviour by changing true (the fifth parameter) to false.
2019-06-15 16:15:49 +02:00
*Issue reference:* `575`_ .
I want to integrate Nextcloud 14 (and older) with Mailu
2019-08-27 09:34:46 +02:00
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2019-06-15 16:15:49 +02:00
2019-06-15 16:20:05 +02:00
1. Install dependencies required to authenticate users via imap in Nextcloud
2019-01-04 11:19:43 +02:00
.. code-block :: bash
apt-get update \
&& apt-get install -y libc-client-dev libkrb5-dev \
&& rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
&& docker-php-ext-install imap
2019-06-15 16:20:05 +02:00
2. Enable External user support from Nextcloud Apps interface
2019-01-04 11:19:43 +02:00
2019-06-15 16:20:05 +02:00
3. Configure additional user backends in Nextcloud’s configuration config/config.php using the following syntax for Nextcloud 14 (and below):
2019-01-04 11:19:43 +02:00
.. code-block :: bash
<?php
2019-05-23 12:57:23 +02:00
/** Use this for Nextcloud 14 and older ** /
2019-01-04 11:19:43 +02:00
'user_backends' => array(
array(
'class' => 'OC_User_IMAP',
'arguments' => array(
'{imap.example.com:993/imap/ssl}', 'example.com'
),
),
),
If a domain name (e.g. example.com) is specified, then this makes sure that only users from this domain will be allowed to login.
2019-06-17 19:04:18 +02:00
After successfull login the domain part will be striped and the rest used as username in Nextcloud. e.g. 'username@example.com' will be 'username' in Nextcloud.
2019-01-04 11:19:43 +02:00
*Issue reference:* `575`_ .
2020-09-24 16:43:18 +02:00
How do I use webdav (radicale)?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2020-09-26 01:13:29 +02:00
| For first time set up, the user must access radicale via the url `https://mail.example.com/webdav/.web` and then
| 1. Log in using the user's full email address and password.
| 2. Click 'Create new addressbook or calendar'
| 3. Follow instructions for creating an addressbook (for contact management) and calendar.
|
| Subsequently to use webdav (radicale), you can configure your carddav/caldav client to use the following url:
| `https://mail.example.com/webdav/user@example.com`
2022-09-25 10:18:09 +02:00
| As username you must provide the complete email address (user@example.com).
2020-09-24 16:43:18 +02:00
| As password you must provide the password of the email address.
| The user must be an existing Mailu user.
*issue reference:* `1591`_ .
2022-08-20 00:56:02 +02:00
.. _`Postfix`: http://www.postfix.org/postconf.5.html
.. _`Dovecot`: https://doc.dovecot.org/configuration_manual/config_file/config_file_syntax/
.. _`NGINX`: https://nginx.org/en/docs/
.. _`Rspamd`: https://www.rspamd.com/doc/configuration/index.html
.. _`Roundcube`: https://github.com/roundcube/roundcubemail/wiki/Configuration#customize-the-look
2018-10-22 15:14:54 +02:00
2018-12-31 04:51:12 +02:00
.. _`125`: https://github.com/Mailu/Mailu/issues/125
2018-10-22 15:14:54 +02:00
.. _`165`: https://github.com/Mailu/Mailu/issues/165
.. _`177`: https://github.com/Mailu/Mailu/issues/177
.. _`332`: https://github.com/Mailu/Mailu/issues/332
2018-12-31 04:13:25 +02:00
.. _`742`: https://github.com/Mailu/Mailu/issues/742
.. _`747`: https://github.com/Mailu/Mailu/issues/747
2018-10-22 15:14:54 +02:00
.. _`520`: https://github.com/Mailu/Mailu/issues/520
.. _`591`: https://github.com/Mailu/Mailu/issues/591
2019-01-04 11:19:43 +02:00
.. _`575`: https://github.com/Mailu/Mailu/issues/575
2020-09-24 16:43:18 +02:00
.. _`1591`: https://github.com/Mailu/Mailu/issues/1591
2018-10-22 15:14:54 +02:00
2021-08-29 18:28:56 +02:00
How do I setup a MTA-STS policy?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
Mailu can serve an `MTA-STS policy`_ ; To configure it you will need to:
2021-08-30 17:52:31 +02:00
1. add `` mta-sts.example.com `` to the `` HOSTNAMES `` configuration variable (and ensure that a valid SSL certificate is available for it; this may mean restarting your smtp container)
2021-08-29 18:28:56 +02:00
2021-08-29 18:29:44 +02:00
2. configure an override with the policy itself; for example, your `` overrides/nginx/mta-sts.conf `` could read:
2021-08-29 18:28:56 +02:00
.. code-block :: bash
location ^~ /.well-known/mta-sts.txt {
return 200 "version: STSv1
mode: enforce
2021-08-30 17:16:41 +02:00
max_age: 1296000
2021-08-29 18:28:56 +02:00
mx: mailu.example.com\r\n";
}
2021-08-30 17:18:19 +02:00
3. setup the appropriate DNS/CNAME record (`` mta-sts.example.com `` -> `` mailu.example.com `` ) and DNS/TXT record (`` _mta-sts.example.com `` -> `` v=STSv1; id=1 `` ) paying attention to the `` TTL `` as this is used by MTA-STS.
2021-08-29 18:28:56 +02:00
*issue reference:* `1798`_ .
.. _`1798`: https://github.com/Mailu/Mailu/issues/1798
.. _`MTA-STS policy`: https://datatracker.ietf.org/doc/html/rfc8461
2018-10-12 19:48:44 +02:00
Technical issues
----------------
2018-10-22 15:14:54 +02:00
In this section we are trying to cover the most common problems our users are having.
If your issue is not listed here, please consult issues with the `troubleshooting tag`_ .
2018-10-13 20:13:09 +02:00
Changes in .env don't propagate
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
Variables are sent to the containers at creation time. This means you need to take the project
down and up again. A container restart is not sufficient.
.. code-block :: bash
docker-compose down && \
docker-compose up -d
2018-10-22 15:14:54 +02:00
*Issue reference:* `615`_ .
2018-10-13 20:13:09 +02:00
2020-06-26 13:42:45 +02:00
SMTP Banner from overrides/postfix.cf is ignored
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2020-08-23 14:40:57 +02:00
Any mail related connection is proxied by nginx. Therefore the SMTP Banner is also set by nginx. Overwriting in overrides/postfix.cf does not apply.
2020-06-26 13:42:45 +02:00
*Issue reference:* `1368`_ .
.. _`1368`: https://github.com/Mailu/Mailu/issues/1368
2022-02-20 14:29:28 +02:00
My emails are getting rejected, I am being told to slow down, what can I do?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
Some email operators insist that emails are delivered slowly. Mailu maintains two separate queues for such destinations: `` polite `` and `` turtle `` . To enable them for some destination you can creating an override at `` overrides/postfix/transport.map `` as follow:
.. code-block :: bash
yahoo.com polite:
orange.fr turtle:
2022-02-20 14:37:49 +02:00
Re-starting the smtp container will be required for changes to take effect.
2022-02-20 14:29:28 +02:00
*Issue reference:* `2213`_ .
.. _`2213`: https://github.com/Mailu/Mailu/issues/2213
2021-09-05 18:23:08 +02:00
My emails are getting defered, what can I do?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
Emails are asynchronous and it's not abnormal for them to be defered sometimes. That being said, Mailu enforces secure connections where possible using DANE and MTA-STS, both of which have the potential to delay indefinitely delivery if something is misconfigured.
If delivery to a specific domain fails because their DANE records are invalid or their TLS configuration inadequate (expired certificate, ...), you can assist delivery by downgrading the security level for that domain by creating an override at `` overrides/postfix/tls_policy.map `` as follow:
.. code-block :: bash
domain.example.com may
domain.example.org encrypt
2022-02-20 14:37:49 +02:00
The syntax and options are as described in `postfix's documentation`_ . Re-starting the smtp container will be required for changes to take effect.
2021-09-05 18:23:08 +02:00
.. _`postfix's documentation`: http://www.postfix.org/postconf.5.html#smtp_tls_policy_maps
2019-08-27 09:34:46 +02:00
403 - Access Denied Errors
2022-02-19 14:30:36 +02:00
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2019-05-07 20:11:01 +02:00
While this may be due to several issues, check to make sure your `` DOMAIN= `` entry is the **first** entry in your `` HOSTNAMES= `` .
2018-10-13 20:13:09 +02:00
TLS certificate issues
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
When there are issues with the TLS/SSL certificates, Mailu denies service on secure ports.
This is a security precaution. Symptoms are:
- 403 browser errors;
These issues are typically caused by four scenarios:
#. `` TLS_FLAVOR=notls `` in `` .env `` ;
#. Certificates expired;
#. When `` TLS_FLAVOR=letsencrypt `` , it might be that the *certbot* script is not capable of
obtaining the certificates for your domain. See `letsencrypt issues`_
2022-03-18 23:49:47 +02:00
#. When `` TLS_FLAVOR=cert `` , certificates are supposed to be copied to `` /mailu/certs `` .
2022-07-26 11:33:39 +02:00
Using an external `` letsencrypt `` program, it tends to happen when people copy the whole
2018-10-13 20:13:09 +02:00
`` letsencrypt/live `` directory containing symlinks. Symlinks do not resolve inside the
container and therefore it breaks the TLS implementation.
letsencrypt issues
..................
In order to determine the exact problem on TLS / Let's encrypt issues, it might be helpful
to check the logs.
.. code-block :: bash
docker-compose logs front | less -R
docker-compose exec front less /var/log/letsencrypt/letsencrypt.log
Common problems:
- Port 80 not reachable from outside.
- Faulty DNS records: make sure that all `` HOSTNAMES `` have **A** (IPv4) and **AAAA** (IPv6)
records, pointing the the `` BIND_ADDRESS4 `` and `` BIND_ADDRESS6 `` .
- DNS cache not yet expired. It might be that old / faulty DNS records are stuck in a cache
en-route to letsencrypt's server. The time this takes is set by the `` TTL `` field in the
records. You'll have to wait at least this time after changing the DNS entries.
Don't keep trying, as you might hit `rate-limits`_ .
.. _`rate-limits`: https://letsencrypt.org/docs/rate-limits/
Copying certificates
....................
As mentioned above, care must be taken not to copy symlinks to the `` /mailu/certs `` location.
**The wrong way!:**
.. code-block :: bash
cp -r /etc/letsencrypt/live/domain.com /mailu/certs
**The right way!:**
.. code-block :: bash
mkdir -p /mailu/certs
cp /etc/letsencrypt/live/domain.com/privkey.pem /mailu/certs/key.pem
cp /etc/letsencrypt/live/domain.com/fullchain.pem /mailu/certs/cert.pem
See also :ref: `external_certs` .
*Issue reference:* `426`_ , `615`_ .
2018-12-31 04:57:17 +02:00
How do I activate DKIM and DMARC?
2019-01-04 11:19:43 +02:00
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2018-12-31 04:57:17 +02:00
Go into the Domain Panel and choose the Domain you want to enable DKIM for.
Click the first icon on the left side (domain details).
Now click on the top right on the *"Regenerate Keys"* Button.
This will generate the DKIM and DMARC entries for you.
*Issue reference:* `102`_ .
2021-12-29 16:40:45 +02:00
.. _Fail2Ban:
2018-10-22 15:14:54 +02:00
Do you support Fail2Ban?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2018-12-31 04:57:17 +02:00
2018-10-22 15:14:54 +02:00
Fail2Ban is not included in Mailu. Fail2Ban needs to modify the host's IP tables in order to
ban the addresses. We consider such a program should be run on the host system and not
inside a container. The `` front `` container does use authentication rate limiting to slow
2021-12-29 16:40:45 +02:00
down brute force attacks. The same applies to login attempts via the single sign on page.
2018-10-22 15:14:54 +02:00
2021-12-29 16:40:45 +02:00
We *do* provide a possibility to export the logs from the `` front `` service and `` Admin `` service to the host.
2022-09-25 10:18:09 +02:00
The `` front `` container logs failed logon attempts on SMTP, IMAP and POP3.
2021-12-29 16:40:45 +02:00
The `` Admin ` ` container logs failed logon attempt on the single sign on page.
2018-10-22 15:14:54 +02:00
For this you need to set `` LOG_DRIVER=journald `` or `` syslog `` , depending on the log
manager of the host. You will need to setup the proper Regex in the Fail2Ban configuration.
2022-09-25 10:18:09 +02:00
Below an example how to do so.
2021-12-29 16:40:45 +02:00
If you use a reverse proxy in front of Mailu, it is vital to set the environment variables REAL_IP_HEADER and REAL_IP_FROM.
2022-09-25 10:18:09 +02:00
Without these environment variables, Mailu will not trust the remote client IP passed on by the reverse proxy and as a result your reverse proxy will be banned.
2021-12-29 16:40:45 +02:00
See the :ref: `[configuration reference <reverse_proxy_headers>` for more information.
2019-11-22 11:56:14 +02:00
Assuming you have a working Fail2Ban installation on the host running your Docker containers,
follow these steps:
2021-12-29 16:40:45 +02:00
1. In the mailu docker-compose set the logging driver of the front container to journald; and set the tag to mailu-front
2019-11-22 11:56:14 +02:00
.. code-block :: bash
logging:
driver: journald
2021-07-24 15:25:59 +02:00
options:
tag: mailu-front
2019-11-22 11:56:14 +02:00
2023-02-10 12:52:08 +02:00
2. Add the /etc/fail2ban/filter.d/bad-auth-bots.conf
2019-11-22 11:56:14 +02:00
.. code-block :: bash
# Fail2Ban configuration file
[Definition]
2023-02-10 15:30:48 +02:00
failregex = ^.*?\[info\] \d+#\d+: \* \d+ client login failed: \"AUTH not supported\" while in http auth state, client: <HOST>, server:
2019-11-22 11:56:14 +02:00
ignoreregex =
2021-07-24 15:25:59 +02:00
journalmatch = CONTAINER_TAG=mailu-front
2019-11-22 11:56:14 +02:00
2023-02-10 12:52:08 +02:00
3. Add the /etc/fail2ban/jail.d/bad-auth-bots.conf
2019-11-22 11:56:14 +02:00
.. code-block :: bash
2023-02-10 12:52:08 +02:00
[bad-auth-bots]
2019-11-22 11:56:14 +02:00
enabled = true
2021-07-08 21:58:29 +02:00
backend = systemd
2023-02-10 12:52:08 +02:00
filter = bad-auth-bots
2019-11-22 11:56:14 +02:00
bantime = 604800
2023-02-10 12:52:08 +02:00
findtime = 600
maxretry = 5
action = docker-action-net
2019-11-22 11:56:14 +02:00
2022-09-25 10:18:09 +02:00
The above will block flagged IPs for a week, you can of course change it to your needs.
2019-11-22 11:56:14 +02:00
2023-02-10 12:52:08 +02:00
5. Add the following to /etc/fail2ban/action.d/docker-action-net.conf
2021-12-29 16:40:45 +02:00
2023-02-10 12:52:08 +02:00
IMPORTANT: You have to install ipset on the host system, eg. `apt-get install ipset` on a Debian/Ubuntu system.
2021-12-29 16:40:45 +02:00
2023-02-10 12:52:08 +02:00
See ipset homepage for details on ipset, https://ipset.netfilter.org/.
2021-12-29 16:40:45 +02:00
.. code-block :: bash
[Definition]
2023-02-10 12:52:08 +02:00
actionstart = ipset --create f2b-bad-auth-bots nethash
iptables -I DOCKER-USER -m set --match-set f2b-bad-auth-bots src -p tcp -m tcp --dport 25 -j DROP
2021-12-29 16:40:45 +02:00
2023-02-10 12:52:08 +02:00
actionstop = iptables -D DOCKER-USER -m set --match-set f2b-bad-auth-bots src -p tcp -m tcp --dport 25 -j DROP
ipset --destroy f2b-bad-auth-bots
2021-12-29 16:40:45 +02:00
2023-02-10 12:52:08 +02:00
actionban = ipset add -exist f2b-bad-auth-bots <ip>/24
actionunban = ipset del -exist f2b-bad-auth-bots <ip>/24
Using DOCKER-USER chain ensures that the blocked IPs are processed in the correct order with Docker. See more in: https://docs.docker.com/network/iptables/
2022-09-25 10:18:09 +02:00
2023-02-10 12:52:08 +02:00
6. In the mailu docker-compose set the logging driver of the Admin container to journald; and set the tag to mailu-admin
.. code-block :: bash
logging:
driver: journald
options:
tag: mailu-admin
7. Add the /etc/fail2ban/filter.d/bad-auth.conf
2022-09-25 10:18:09 +02:00
.. code-block :: bash
# Fail2Ban configuration file
[Definition]
2023-02-10 12:52:08 +02:00
failregex = : Authentication attempt from <HOST> has been rate-limited\.$
2022-09-25 10:18:09 +02:00
ignoreregex =
journalmatch = CONTAINER_TAG=mailu-admin
2023-02-10 12:52:08 +02:00
6. Add the /etc/fail2ban/jail.d/bad-auth.conf
2022-09-25 10:18:09 +02:00
.. code-block :: bash
2023-02-10 12:52:08 +02:00
[bad-auth]
2022-09-25 10:18:09 +02:00
enabled = true
backend = systemd
2023-02-10 12:52:08 +02:00
filter = bad-auth
2022-09-25 10:18:09 +02:00
bantime = 604800
2023-02-10 12:52:08 +02:00
findtime = 900
maxretry = 15
2022-09-25 10:18:09 +02:00
action = docker-action
The above will block flagged IPs for a week, you can of course change it to your needs.
2023-02-10 12:52:08 +02:00
7. Add the following to /etc/fail2ban/action.d/docker-action.conf
2019-11-22 11:56:14 +02:00
2022-02-03 21:51:45 +02:00
IMPORTANT: You have to install ipset on the host system, eg. `apt-get install ipset` on a Debian/Ubuntu system.
See ipset homepage for details on ipset, https://ipset.netfilter.org/.
.. code-block :: bash
[Definition]
2023-01-03 17:53:58 +02:00
actionstart = ipset --create f2b-bad-auth iphash
2022-02-14 11:38:26 +02:00
iptables -I DOCKER-USER -m set --match-set f2b-bad-auth src -j DROP
2022-02-03 21:51:45 +02:00
2022-02-14 11:38:26 +02:00
actionstop = iptables -D DOCKER-USER -m set --match-set f2b-bad-auth src -j DROP
2022-02-03 21:51:45 +02:00
ipset --destroy f2b-bad-auth
2022-02-14 11:38:26 +02:00
actionban = ipset add -exist f2b-bad-auth <ip>
2022-02-03 21:51:45 +02:00
2022-02-14 11:38:26 +02:00
actionunban = ipset del -exist f2b-bad-auth <ip>
2022-02-03 21:51:45 +02:00
Using DOCKER-USER chain ensures that the blocked IPs are processed in the correct order with Docker. See more in: https://docs.docker.com/network/iptables/
2023-02-10 12:52:08 +02:00
8. Configure and restart the Fail2Ban service
2021-03-18 09:46:27 +02:00
2021-03-19 10:59:16 +02:00
Make sure Fail2Ban is started after the Docker service by adding a partial override which appends this to the existing configuration.
2021-03-18 09:46:27 +02:00
.. code-block :: bash
sudo systemctl edit fail2ban
2021-03-19 10:59:16 +02:00
Add the override and save the file.
2021-03-18 09:46:27 +02:00
.. code-block :: bash
[Unit]
After=docker.service
2021-03-19 10:59:16 +02:00
Restart the Fail2Ban service.
2019-11-22 11:56:14 +02:00
.. code-block :: bash
sudo systemctl restart fail2ban
2018-10-22 15:14:54 +02:00
2021-07-08 22:11:54 +02:00
*Issue reference:* `85`_ , `116`_ , `171`_ , `584`_ , `592`_ , `1727`_ .
2018-10-22 15:14:54 +02:00
Users can't change their password from webmail
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
All users have the abilty to login to the admin interface. Non-admin users
have only restricted funtionality such as changing their password and the
spam filter weight settings.
2018-10-13 20:13:09 +02:00
2018-10-22 15:14:54 +02:00
*Issue reference:* `503`_ .
2018-10-12 19:48:44 +02:00
2018-12-31 04:33:37 +02:00
rspamd: DNS query blocked on multi.uribl.com
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
This usually relates to the DNS server you are using. Most of the public servers block this query or there is a rate limit.
In order to solve this, you most probably are better off using a root DNS resolver, such as `unbound`_ . This can be done in multiple ways:
- Use the *Mailu/unbound* container. This is an optional include when generating the `` docker-compose.yml `` file with the setup utility.
- Setup unbound on the host and make sure the host's `` /etc/resolve.conf `` points to local host.
Docker will then forward all external DNS requests to the local server.
- Set up an external DNS server with root resolving capabilities.
In any case, using a dedicated DNS server will improve the performance of your mail server.
2018-12-31 04:38:59 +02:00
*Issue reference:* `206`_ , `554`_ , `681`_ .
2018-12-31 04:33:37 +02:00
2020-05-01 15:41:37 +02:00
Can I learn ham/spam messages from an already existing mailbox?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2022-09-25 10:18:09 +02:00
Mailu supports automatic spam learning for messages moved to the Junk mailbox. Any email moved from the Junk Folder will learnt as ham.
2020-05-01 15:41:37 +02:00
If you already have an existing mailbox and want Mailu to learn them all as ham messages, you might run rspamc from within the dovecot container:
.. code-block :: bash
2020-05-04 09:47:00 +02:00
rspamc -h antispam:11334 -P mailu -f 13 fuzzy_add /mail/user\@example.com/.Ham_Learn/cur/
2022-09-08 17:35:08 +02:00
rspamc -h antispam:11334 -P mailu learn_ham /mail/user\@example.com/.Ham_Learn/cur/
2020-05-01 15:41:37 +02:00
2022-09-25 10:18:09 +02:00
This should learn every file located in the `` Ham_Learn `` folder from user@example.com
2020-05-01 15:41:37 +02:00
2020-05-04 09:47:11 +02:00
Likewise, to lean all messages within the folder `` Spam_Learn `` as spam messages :
2020-05-01 15:41:37 +02:00
.. code-block :: bash
rspamc -h antispam:11334 -P mailu -f 11 fuzzy_add /mail/user\@example.com/.Spam_Learn/cur/
2022-09-08 17:35:08 +02:00
rspamc -h antispam:11334 -P mailu learn_spam /mail/user\@example.com/.Spam_Learn/cur/
2020-05-01 15:41:37 +02:00
*Issue reference:* `1438`_ .
2018-12-31 05:11:56 +02:00
Is there a way to support more (older) ciphers?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2020-02-07 16:25:29 +02:00
You will need to rewrite the `tls.conf` template of the `front` container in `core/nginx` .
You can set the protocols as follow:
2018-12-31 05:11:56 +02:00
.. code-block :: bash
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers <list of ciphers>;
2020-02-07 16:25:29 +02:00
After applying the change, you will need to rebuild the image and use it in your deployment.
We **strongly** advice against downgrading the TLS version and ciphers, please upgrade your client instead! We will not support a more standard way of setting this up.
2018-12-31 05:11:56 +02:00
*Issue reference:* `363`_ , `698`_ .
2020-02-07 18:14:09 +02:00
Why does Compose complain about the yaml syntax
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2020-02-08 13:01:08 +02:00
In many cases, Docker Compose will complain about the yaml syntax because it is too old. It is especially true if you installed Docker Compose as part of your GNU/Linux distribution package system.
2020-02-07 18:14:09 +02:00
Unless your distribution has proper up-to-date packages for Compose, we strongly advise that you install it either:
2020-02-08 13:01:51 +02:00
- from the Docker-CE repositories along with Docker CE itself,
- from PyPI using `pip install docker-compose` or
2020-02-07 18:14:09 +02:00
- from Github by downloading it directly.
Detailed instructions can be found at https://docs.docker.com/compose/install/
*Issue reference:* `853`_ .
2022-07-26 11:33:39 +02:00
Why are spam mails being discarded?
2020-02-07 18:14:09 +02:00
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
Disabling antispam in the user settings actually disables automatic classification of messages as spam and stops moving them to the `junk` folder. It does not stop spam scanning and filtering.
Therefore, messages still get discarded if their spam score is so high that the antispam finds them unfit for distribution. Also, the antispam headers are still present in the message, so that mail clients can display it and classify based on it.
*Issue reference:* `897`_ .
Why is SPF failing while properly setup?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
Very often, SPF failure is related to Mailu sending emails with a different IP address than the one configured in the env file.
2022-07-26 11:33:39 +02:00
This is mostly due to using a separate IP address for Mailu and still having masquerading NAT setup for Docker, which results in a different outbound IP address. You can simply check the email headers on the receiving side to confirm this.
2020-02-07 18:14:09 +02:00
2022-10-19 19:36:13 +02:00
If you wish to explicitly NAT Mailu outbound traffic, it is usually easy to source-NAT outgoing SMTP traffic using iptables :
2020-02-07 18:14:09 +02:00
`` `
iptables -t nat -A POSTROUTING -o eth0 -p tcp --dport 25 -j SNAT --to <your mx ip>
`` `
*Issue reference:* `1090`_ .
2018-10-22 15:14:54 +02:00
.. _`troubleshooting tag`: https://github.com/Mailu/Mailu/issues?utf8=%E2%9C%93&q=label%3Afaq%2Ftroubleshooting
.. _`85`: https://github.com/Mailu/Mailu/issues/85
2018-12-31 04:57:17 +02:00
.. _`102`: https://github.com/Mailu/Mailu/issues/102
2018-10-22 15:14:54 +02:00
.. _`116`: https://github.com/Mailu/Mailu/issues/116
.. _`171`: https://github.com/Mailu/Mailu/issues/171
2018-12-31 04:38:59 +02:00
.. _`206`: https://github.com/Mailu/Mailu/issues/206
2018-12-31 05:11:56 +02:00
.. _`363`: https://github.com/Mailu/Mailu/issues/363
2018-10-13 20:13:09 +02:00
.. _`426`: https://github.com/Mailu/Mailu/issues/426
2018-10-22 15:14:54 +02:00
.. _`503`: https://github.com/Mailu/Mailu/issues/503
2018-12-31 04:33:37 +02:00
.. _`554`: https://github.com/Mailu/Mailu/issues/554
2018-10-22 15:14:54 +02:00
.. _`584`: https://github.com/Mailu/Mailu/issues/584
.. _`592`: https://github.com/Mailu/Mailu/issues/592
2018-10-13 20:13:09 +02:00
.. _`615`: https://github.com/Mailu/Mailu/issues/615
2018-12-31 04:33:37 +02:00
.. _`681`: https://github.com/Mailu/Mailu/pull/681
2018-12-31 05:11:56 +02:00
.. _`698`: https://github.com/Mailu/Mailu/issues/698
2020-02-07 18:14:09 +02:00
.. _`853`: https://github.com/Mailu/Mailu/issues/853
.. _`897`: https://github.com/Mailu/Mailu/issues/897
.. _`1090`: https://github.com/Mailu/Mailu/issues/1090
2018-12-31 04:33:37 +02:00
.. _`unbound`: https://nlnetlabs.nl/projects/unbound/about/
2020-05-01 15:41:37 +02:00
.. _`1438`: https://github.com/Mailu/Mailu/issues/1438
2021-03-18 09:46:27 +02:00
.. _`1727`: https://github.com/Mailu/Mailu/issues/1727
2019-02-09 13:33:33 +02:00
2019-03-01 16:56:08 +02:00
A user gets `` Sender address rejected: Access denied. Please check the `` `` message recipient […] and try again `` even though the sender is legitimate?
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
2022-02-19 14:30:36 +02:00
2022-07-26 11:33:39 +02:00
First, check if you are really sure the user is a legitimate sender, i.e. the registered user is authenticated successfully and own either the account or alias he/she is trying to send from. If you are really sure this is correct, then the user might try to erroneously send via port 25 instead of the designated SMTP client-ports. Port 25 is meant for server-to-server delivery, while users should use port 587 or 465.
2022-02-19 14:30:36 +02:00
The admin container won't start and its log says `` Critical: your DNS resolver isn't doing DNSSEC validation ``
`` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ``
Since v1.9, Mailu requires a **validating** DNSSEC enabled DNS resolver. To check whether your DNS resolver (and its upstream) fits the requirements you can use the following command and see whether the **AD** flag is present in the reply:
.. code-block :: bash
dig @<ip> +adflag example.org A
We recommend that you run your own DNS resolver (enable unbound and update your docker-compose.yml when you update from older versions) instead of relying on publicly available ones. It's better security-wise (you don't have to trust them) and RBLs used by rspamd are known to rate-limit per source-ip address.
We have seen a fair amount of support requests related to the following:
- dnsmasq won't forward DNSSEC results unless instructed to do so. If you are running openwrt or pi-hole, you do need to enable DNSSEC.
- `coredns has a bug`_ that we have now worked around
.. _`coredns has a bug`: https://github.com/coredns/coredns/issues/5189