curl -X GET "https://mail.example.com/api/v1/get/logs/netfilter" -H "X-API-Key: $MAILCOW_API_KEY"
Fetch firewall ban logs via the API
This returns netfilter events showing which IPs were banned and why. Mailcow's netfilter container maintains the iptables rules that block abusive senders. Persistent bans for one IP usually mean repeated auth failures.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.