--- /dev/null
+# Example colordiffrc file for dark backgrounds
+#
+# Set banner=no to suppress authorship info at top of
+# colordiff output
+banner=no
+# By default, when colordiff output is being redirected
+# to a file, it detects this and does not colour-highlight
+# To make the patch file *include* colours, change the option
+# below to 'yes'
+color_patches=no
+# Sometimes it can be useful to specify which diff command to
+# use: that can be specified here
+diff_cmd=diff
+#
+# available colours are: white, yellow, green, blue,
+# cyan, red, magenta, black,
+# darkwhite, darkyellow, darkgreen,
+# darkblue, darkcyan, darkred,
+# darkmagenta, darkblack
+#
+# Can also specify 'none', 'normal' or 'off' which are all
+# aliases for the same thing, namely "don't colour highlight
+# this, use the default output colour"
+#
+plain=off
+newtext=blue
+oldtext=red
+diffstuff=magenta
+cvsstuff=green
#
# Destination email address used solely for the interpolations in
# jail.{conf,local} configuration files.
-destemail = root@localhost
+destemail = frank@brehm-online.com
#
# Name of the sender for mta actions
sendername = Fail2Ban
# Email address of the sender
-sender = fail2ban@localhost
+sender = fail2ban+ns3@brehm-online.com
#
# ACTIONS
# ban & send an e-mail with whois report to the destemail.
action_mw = %(banaction)s[name=%(__name__)s, port="%(port)s", protocol="%(protocol)s", chain="%(chain)s"]
- %(mta)s-whois[name=%(__name__)s, dest="%(destemail)s", protocol="%(protocol)s", chain="%(chain)s", sendername="%(sendername)s"]
+ %(mta)s-whois[name=%(__name__)s, dest="%(destemail)s", protocol="%(protocol)s", chain="%(chain)s", sender="%(sender)s", sendername="%(sendername)s"]
# ban & send an e-mail with whois report and relevant log lines
# to the destemail.
enabled = true
port = ssh
filter = sshd
-logpath = /var/log/auth.log
+logpath = /var/log/syslog.d/auth.log
+action = %(action_mw)s
maxretry = 6
[dropbear]
[postfix]
-enabled = false
+enabled = true
port = smtp,ssmtp,submission
filter = postfix
-logpath = /var/log/mail.log
+logpath = /var/log/syslog.d/mail.log
+action = %(action_mw)s
[couriersmtp]
sendmail-whois[name=Nagios, dest="%(destemail)s", sender="%(sender)s", sendername="%(sendername)s"]
logpath = /var/log/messages ; nrpe.cfg may define a different log_facility
maxretry = 1
+
+# vim: filetype=dosini