Error in /etc/fail2ban/filter.d/dovecot.conf

Bug #1355619 reported by Sven Gottwald
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fail2ban (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

/etc/fail2ban/filter.d/dovecot.conf contains an error (Ubuntu 14.04.1 LTS):

root@umbar:~# fail2ban-regex /var/log/syslog /etc/fail2ban/filter.d/dovecot.conf

Running tests
=============

Use failregex file : /etc/fail2ban/filter.d/dovecot.conf
Traceback (most recent call last):
  File "/usr/bin/fail2ban-regex", line 415, in <module>
    fail2banRegex.readRegex(cmd_regex, 'fail') or sys.exit(-1)
  File "/usr/bin/fail2ban-regex", line 226, in readRegex
    'add%sRegex' % regextype.title())(regex.getFailRegex())
  File "/usr/share/fail2ban/server/filter.py", line 92, in addFailRegex
    raise e
server.failregex.RegexException: Unable to compile regular expression '^\s*(<[^.]+\.[^.]+>)?\s*(?:\S+ )?(?:kernel: \[\d+\.\d+\] )?(?:@vserver_\S+ )?(?:(?:\[\d+\])?:\s+[\[\(]?(auth|dovecot(-auth)?|auth-worker)(?:\(\S+\))?[\]\)]?:?|[\[\(]?(auth|dovecot(-auth)?|auth-worker)(?:\(\S+\))?[\]\)]?:?(?:\[\d+\])?:?)?\s(?:\[ID \d+ \S+\])?\s*(pop3|imap)-login: Login: user=.+, method=PLAIN, rip=(?:::f{4,6}:)?(?P<host>[\w\-.^_]*\w), lip=(\d{1,3}\.){3}\d{1,3}(, mpid=\d+'

Revision history for this message
Sven Gottwald (svengo) wrote :

Please close the bug. The file was modified locally. The original file runs without error.
Sorry!

James Cowgill (jcowgill)
Changed in fail2ban (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.