mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 01:55:29 +02:00
docs: miscellaneous improvements (#3219)
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
This commit is contained in:
parent
a9515b49c2
commit
cf8e555212
23 changed files with 470 additions and 364 deletions
|
@ -233,6 +233,22 @@ Yes, by adding the environment variable `PERMIT_DOCKER: network`.
|
|||
|
||||
Adding the Docker network's gateway to the list of trusted hosts, e.g. using the `network` or `connected-networks` option, can create an [**open relay**](https://en.wikipedia.org/wiki/Open_mail_relay), for instance [if IPv6 is enabled on the host machine but not in Docker][github-issue-1405-comment].
|
||||
|
||||
### Connection refused or No response at all
|
||||
|
||||
You see errors like "Connection Refused" and "Connection closed by foreign host", or you cannot connect at all? You may not be able to connect with your mail client (MUA)? Make sure to check Fail2Ban did not ban you (for exceeding the number of tried logins for example)! You can run
|
||||
|
||||
```bash
|
||||
docker exec <CONTAINER NAME> setup fail2ban
|
||||
```
|
||||
|
||||
and check whether your IP address appears. Use
|
||||
|
||||
```bash
|
||||
docker exec <CONTAINER NAME> setup fail2ban unban <YOUR IP>
|
||||
```
|
||||
|
||||
to unban the IP address.
|
||||
|
||||
### How can I authenticate users with `SMTP_ONLY=1`?
|
||||
|
||||
See [#1247][github-issue-1247] for an example.
|
||||
|
@ -429,7 +445,7 @@ The following configuration works nicely:
|
|||
```yaml
|
||||
services:
|
||||
mailserver:
|
||||
image: docker.io/mailserver/docker-mailserver:latest
|
||||
image: ghcr.io/docker-mailserver/docker-mailserver:latest
|
||||
volumes:
|
||||
- ./docker-data/dms/cron/sa-learn:/etc/cron.d/sa-learn
|
||||
```
|
||||
|
@ -441,7 +457,7 @@ The following configuration works nicely:
|
|||
|
||||
services:
|
||||
mailserver:
|
||||
image: docker.io/mailserver/docker-mailserver:latest
|
||||
image: ghcr.io/docker-mailserver/docker-mailserver:latest
|
||||
# ...
|
||||
configs:
|
||||
- source: my_sa_crontab
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue