You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-10 23:12:02 +02:00
Remove no mail option.
This commit is contained in:
@@ -34,19 +34,12 @@ cd /var/log
|
|||||||
cat fail2ban.log | grep dovecot
|
cat fail2ban.log | grep dovecot
|
||||||
|
|
||||||
# Whitelist ip addresses:
|
# Whitelist ip addresses:
|
||||||
fail2ban-client set dovecot addignoreip <server ip> # ec2 cloud server
|
fail2ban-client set dovecot addignoreip <server ip> # Server
|
||||||
fail2ban-client set postfix addignoreip <server ip>
|
fail2ban-client set postfix addignoreip <server ip>
|
||||||
fail2ban-client set dovecot addignoreip <client ip> # my desktop
|
fail2ban-client set dovecot addignoreip <client ip> # Client
|
||||||
fail2ban-client set postfix addignoreip <client ip>
|
fail2ban-client set postfix addignoreip <client ip>
|
||||||
|
|
||||||
# this will delete the jails entirely - nuclear option
|
# this will delete the jails entirely - nuclear option
|
||||||
fail2ban-client stop dovecot
|
fail2ban-client stop dovecot
|
||||||
fail2ban-client stop postfix
|
fail2ban-client stop postfix
|
||||||
```
|
|
||||||
## No Mail?
|
|
||||||
I finally got my macOS client working, but was not receiving test messages. I edited docker-compose.yml and temporarily disabled the spam filter (and fail2ban). Now I am getting mail. I will troubleshoot those and re-enable them next week, but thought this might be of help for others trying to troubleshoot.
|
|
||||||
```bash
|
|
||||||
environment:
|
|
||||||
- ENABLE_MANAGESIEVE=0
|
|
||||||
- ENABLE_FAIL2BAN=0
|
|
||||||
```
|
```
|
Reference in New Issue
Block a user