Remove no mail option.

This commit is contained in:
Johan Smits 2018-01-09 08:39:54 +01:00
parent 55b0a5bfb8
commit 84c0d23a80

View file

@ -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
``` ```