==================================================================
  Please DO NOT REPLY to this mail or send email to the developers
  about this bug. Please follow-up to Bugzilla using this link:
    http://bugs.contribs.org/show_bug.cgi?id=8955

  Have you checked the Frequently Asked Questions (FAQ)?
    http://wiki.contribs.org/SME_Server:Documentation:FAQ

  Please also take the time to read the following useful guide:
    http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================

            Bug ID: 8955
           Summary: Error in qpsmtpd.conf regex
    Classification: Contribs
           Product: SME Contribs
           Version: 8.1
          Hardware: ---
                OS: ---
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: smeserver-fail2ban
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Not sure if this is a bug for sure but wanted it checked.

I was messing with some regex for http://bugs.contribs.org/show_bug.cgi?id=8952
and was having a struggle with fail2ban-regex so I tried to use the regex in
/etc/fail2ban/profile.d/qpsmtpd.conf as follows:

fail2ban-regex /var/log/qpsmtpd/current "^\s*\d+\s*logging::logterse plugin
\(deny\): ` <HOST>\s*.*90\d.*msg denied before queued$"

It seems to fail and I just get 

>

I presumed this was because of the backtick ` being wrongly
interpreted/escaped.

I changed the line to :

fail2ban-regex /var/log/qpsmtpd/current "^\s*\d+\s*logging::logterse plugin
\(deny\): \` <HOST>\s*.*90\d.*msg denied before queued$"

and it worked perfectly.

What I am not sure is whether this should be in the regex in the conf file or
not ?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/

Reply via email to