> Thank you for the swift response Nick. That was one of the incantations 
> I had tried with these results
> [snip]
> ConfigParser.InterpolationMissingOptionError: Bad value substitution:
>     section: [Definition]
>     option : failregex
>     key    : __prefix_line

This means you do not have a proper definition for __prefix_line.  This is a 
macro within fail2ban which requires a definition for _daemon in your 
sasl2.conf file.  Do you define _daemon?  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


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