Current time: 11-15-2024, 12:28 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fail2Ban und dovecot
Author Message
Darkside2009 Offline
Junior Member
*

Posts: 80
Joined: Nov 2009
Reputation: 1
Post: #7
RE: Fail2Ban und dovecot
(02-19-2010 08:32 PM)BeNe Wrote:  Zum Post #3 nochmals.
Du schreibst von einem "Fehler". Sind denn solche Einträge in der jetzigen mail.conf enthalten ?

Habe grad eben mal das Standard REGEX aus dem Dovecot wiki genommen welches sauber bei mir funktioniert.

Greez BeNe

" Fehler " ist evtl falsch ausgedrückt........
es geht sich darum, das fail2ban nicht auf die sachen reagiert wie in meinem 1. post zu sehen.

meine mail.conf sieht so aus :
Quote:# Fail2Ban configuration file
#
# Author: Cyril Jaquier
#
# $Revision: 660 $
#

[Definition]

# Option: actionstart
# Notes.: command executed once at the start of Fail2Ban.
# Values: CMD
#
actionstart = printf %%b "Hi,\n
The jail <name> has been started successfully.\n
Regards,\n
Fail2Ban"|mail -s "[Fail2Ban] <name>: started" <dest>

# Option: actionstop
# Notes.: command executed once at the end of Fail2Ban
# Values: CMD
#
actionstop = printf %%b "Hi,\n
The jail <name> has been stopped.\n
Regards,\n
Fail2Ban"|mail -s "[Fail2Ban] <name>: stopped" <dest>

# Option: actioncheck
# Notes.: command executed once before each actionban command
# Values: CMD
#
actioncheck =

# Option: actionban
# Notes.: command executed when banning an IP. Take care that the
# command is executed with Fail2Ban user rights.
# Tags: <ip> IP address
# <failures> number of failures
# <time> unix timestamp of the ban time
# Values: CMD
#
actionban = printf %%b "Hi,\n
The IP <ip> has just been banned by Fail2Ban after
<failures> attempts against <name>.\n
Regards,\n
Fail2Ban"|mail -s "[Fail2Ban] <name>: banned <ip>" <dest>

# Option: actionunban
# Notes.: command executed when unbanning an IP. Take care that the
# command is executed with Fail2Ban user rights.
# Tags: <ip> IP address
# <failures> number of failures
# <time> unix timestamp of the ban time
# Values: CMD
#
actionunban =

[Init]

# Defaut name of the chain
#
name = default

# Destination/Addressee of the mail
#
dest = root
(This post was last modified: 02-19-2010 10:34 PM by Darkside2009.)
02-19-2010 10:34 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Fail2Ban und dovecot - Darkside2009 - 02-19-2010, 03:48 AM
RE: Fail2Ban und dovecot - TheCry - 02-19-2010, 05:35 AM
RE: Fail2Ban und dovecot - Darkside2009 - 02-19-2010, 05:46 AM
RE: Fail2Ban und dovecot - BeNe - 02-19-2010, 05:00 PM
RE: Fail2Ban und dovecot - Darkside2009 - 02-19-2010, 06:32 PM
RE: Fail2Ban und dovecot - BeNe - 02-19-2010, 08:32 PM
RE: Fail2Ban und dovecot - Darkside2009 - 02-19-2010 10:34 PM
RE: Fail2Ban und dovecot - BeNe - 02-19-2010, 11:37 PM
RE: Fail2Ban und dovecot - Darkside2009 - 02-20-2010, 12:03 AM
RE: Fail2Ban und dovecot - TheCry - 02-20-2010, 03:40 AM
RE: Fail2Ban und dovecot - Darkside2009 - 02-20-2010, 07:06 PM
RE: Fail2Ban und dovecot - Darkside2009 - 02-20-2010, 08:19 PM
RE: Fail2Ban und dovecot - TheCry - 02-25-2010, 07:58 PM
RE: Fail2Ban und dovecot - Darkside2009 - 02-25-2010, 08:01 PM
RE: Fail2Ban und dovecot - Darkside2009 - 03-29-2010, 07:01 PM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)