Hi

OS : CentOS:5.3
Enabled log of fail2ban.

2009-10-18 04:02:07,988 fail2ban.filter : INFO   Log rotation detected for
/var/log/maillog
2009-10-18 04:02:07,990 fail2ban.filter : INFO   Log rotation detected for
/var/log/maillog
2009-10-18 04:04:09,985 fail2ban.filter : INFO   Log rotation detected for
/var/log/maillog
2009-10-18 04:04:09,987 fail2ban.filter : INFO   Log rotation detected for
/var/log/maillog
2009-10-19 07:17:03,728 fail2ban.actions: WARNING [vpopmail] Ban
41.219.219.61
2009-10-19 07:17:03,732 fail2ban.actions.action: ERROR  iptables -n -L
INPUT | grep -q fail2ban-pop3 returned 100
2009-10-19 07:17:03,732 fail2ban.actions.action: ERROR  Invariant check
failed. Trying to restore a sane environment
2009-10-19 07:17:03,743 fail2ban.actions.action: ERROR  iptables -N
fail2ban-pop3
iptables -A fail2ban-pop3 -j RETURN
iptables -I INPUT -p tcp] sendmailwhois[name --dport pop3 -j fail2ban-pop3
returned 200
2009-10-19 07:17:03,748 fail2ban.actions.action: ERROR  iptables -n -L
INPUT | grep -q fail2ban-pop3 returned 100
2009-10-19 07:17:03,748 fail2ban.actions.action: CRITICAL Unable to
restore environment
2009-10-19 07:17:04,749 fail2ban.actions: WARNING [vpopmail] 41.219.219.61
already banned
2009-10-19 07:17:05,749 fail2ban.actions: WARNING [vpopmail] 41.219.219.61
already banned
2009-10-20 09:47:18,938 fail2ban.comm   : WARNING Invalid command:
['restart']
2009-10-20 09:47:24,053 fail2ban.jail   : INFO   Jail 'qmail-iptables'
stopped
2009-10-20 09:47:25,035 fail2ban.actions: WARNING [vpopmail] Unban
41.219.219.61
2009-10-20 09:47:25,039 fail2ban.actions.action: ERROR  iptables -n -L
INPUT | grep -q fail2ban-pop3 returned 100
2009-10-20 09:47:25,039 fail2ban.actions.action: ERROR  Invariant check
failed. Trying to restore a sane environment
2009-10-20 09:47:25,048 fail2ban.actions.action: ERROR  iptables -N
fail2ban-pop3
iptables -A fail2ban-pop3 -j RETURN
iptables -I INPUT -p tcp] sendmailwhois[name --dport pop3 -j fail2ban-pop3
returned 200
2009-10-20 09:47:25,052 fail2ban.actions.action: ERROR  iptables -n -L
INPUT | grep -q fail2ban-pop3 returned 100

When i checked the entries in iptables it was not showing the
41.219.219.61 ip

Regards,
Vidyadhar




On Fri, Oct 30, 2009 at 4:35 PM, Ole N.Johansen <ole.johan...@cryonix.no>wrote:

>  Hello,
>
>
>
> Works like a dream here.
>
>
>
> What is your OS, version
>
> Error messages?
>
>
>
> B/R
>
> Ole J
>
>
>  ------------------------------
>
> *From:* Vidyadhar [mailto:vidyadha...@gmail.com]
> *Sent:* 30. oktober 2009 11:41
> *To:* qmailtoaster-list@qmailtoaster.com
> *Subject:* [qmailtoaster] fail2ban query
>
>
>
> Hi list,
>
> Do anybody here have successfully implemented fail2ban for vpopmail. I
> tried by following this way:
>
> http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg23954.html
> but not working. Can anybody help me out to resolve the same.
>
> Regards,
> Vidyadhar
>

Reply via email to