Amir Caspi wrote:

For what it's worth, here's how I do it on CentOS 5:

# sendmail-noauth.conf
[INCLUDES]
before = common.conf

[Definition]
_daemon = sm-acceptingconnections
failregex = ^%(__prefix_line)s\S*: \S*\s*\[<HOST>\] (?:\(may be forged\) )?did 
not issue MAIL/EXPN/VRFY/ETRN during connection to MTA\s*$
ignoreregex =
#EOF

In your case, from your logfile, you'll want _daemon = sendmail ...

Cheers.

-- Amir



Thank you Amir, that's working in production even though the fail2ban-regex 
test gives error messages.

Best

Ken



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to