From Fail2ban
Revision as of 12:32, 24 February 2010 by Zyphos (Talk | contribs)

Jump to: navigation, search

Courier is mail transfer agent (MTA) server that provides ESMTP, IMAP, POP3, SMAP, webmail, and mailing list services with individual components.

courier-pop version 0.59.0

  • Feb 24 10:50:52 servername pop3d: LOGIN FAILED, user=george, ip=[::ffff:]


The regular expressions below are proposed failregex for this software. Multiple regular expressions for failregex will only work with a version of Fail2ban greater than or equal to 0.7.6.

The tag <HOST> in the regular expressions below is just an alias for (?:::f{4,6}:)?(?P<host>\S+). The replacement is done automatically by Fail2ban when adding the regular expression. At the moment, exactly one named group host or <HOST> tag must be present in each regular expression.

Please, before editing this section, propose your changes in the discussion page first.

Already in courierlogin.conf filter.

failregex = LOGIN FAILED, .*, ip=\[<HOST>\]$