OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: anvil

From: Simon Jones (simonmjonesgmail.com)
Date: Thu Jun 11 2009 - 07:34:15 CDT


2009/6/10 Ralf Hildebrandt <Ralf.Hildebrandtcharite.de>:
> * Simon Jones <simonmjonesgmail.com>:
>
>> This is the part I'm missing, how do I enable the shit flinger?
>
> You COULD use smtp_source
>
> OR
>
> your could set ridiculous low limits (1/60s) and then test it manually using telnet.
>
> Keep in mind, though:
> smtpd_client_event_limit_exceptions = $mynetworks
>
> so the test must be performed from a client OUTSIDE of $mynetworks
> Or you just say:
>
> smtpd_client_event_limit_exceptions =
>
> --
> Ralf Hildebrandt
> Postfix - Einrichtung, Betrieb und Wartung       Tel. +49 (0)30-450 570-155
> http://www.computerbeschimpfung.de
> Ballmer should step down in favour of Mr T, because he pity the fool
> who don't got high-end video cards and 4GB RAM for Vista Aero!

Thanks guys, fail2ban looks great - config is being a bitch though but
i have anvil working now!

Jason, when I fire up failt2ban it says "WARNING 'action' not defined
in 'postfix'. Using default value"

i found some info on
http://www.howtoforge.com/forums/showthread.php?t=28781 and followed
it through but i got the same error when firing fail2ban up too, the
postfix.conf files looks ok -

# Fail2Ban configuration file
#
# Author: Cyril Jaquier
#
# $Revision: 510 $
#

[Definition]

# postfix

# Option: failregex
# Notes.: regex to match the password failures messages in the logfile. The
# host must be matched by a group named "host". The tag "<HOST>" can
# be used for standard IP/hostname matching and is only an alias for
# (?:::f{4,6}:)?(?P<host>\S+)
# Values: TEXT
#
#failregex = reject: RCPT from (.*)\[<HOST>\]: 554
failregex = reject: RCPT from (.*)\[<HOST>\]: 5[05][0-4]

# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.
# Values: TEXT
#
ignoreregex =

I modded it slightly though - but it does the same weather default or
not, any pointers to what i'm doing wrong? "action not defined" would
suggest that i've not enabled / configured something correctly but the
files look the same as the examples i've seen on the web.