Stop spam attack with fail2ban

Wrong tool for job. Rate limit should be set on SMTP server. Here is relevant discussion: