![]() |
Postfix and antispamming - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: Suggestions (/forum-2.html) +--- Thread: Postfix and antispamming (/thread-1626.html) |
RE: Postfix and antispamming - raphael - 11-02-2007 06:21 AM ok; and what config files need to be modified? with that changes? does it exist on non-Debian systems? already packaged? official package? does it exist for non-linux systems? ... ![]() RE: Postfix and antispamming - Sweeny - 11-02-2007 06:26 AM The only thing which must be modified is postfixs main.cf policy-weightd is a perl script. Just have a look at http://www.policyd-weight.org/howto.html It's very simple to setup and should easily implemented in ISPCP RE: Postfix and antispamming - raphael - 11-02-2007 07:24 AM that doesn't actually anwser all of my questions ![]() RE: Postfix and antispamming - BeNe - 11-02-2007 07:35 AM policyd-weight is available for FreeBSD, maybe also for *BSD --> http://www.freshports.org/mail/postfix-policyd-weight/ It is already packed for Debian a "apt-get install policyd-weight" should do it. I mean also that it is avialabe for Fedora/RedHat Greez BeNe RE: Postfix and antispamming - raphael - 11-02-2007 07:46 AM Ok, I think you already know my new procedure before I do, almost, any change ![]() (I need to check if any config change should be made) RE: Postfix and antispamming - BeNe - 11-02-2007 08:00 AM Should i create a new one only for the Package ? There is already a Ticket open --> http://www.isp-control.net/ispcp/ticket/825 So we could add this info here.... Greez BeNe RE: Postfix and antispamming - raphael - 11-02-2007 08:21 AM hmm, right, its ok with #825 RE: Postfix and antispamming - BeNe - 11-02-2007 08:57 AM I combined policyd-weight with fail2ban now and this is a perfect solution for me to save resources on the Server. Fail2ban set the IP of every mail.log entry like this Code: failregex = reject: RCPT from (.*)\[<HOST>\]: 550 The result was "0" Spam(!) today and all other real needed mails in my Inbox. ![]() It works perfect for me with this System: Quote:policyd-weight (before Queue + IP ban here) -> postgrey -> Maia -> InBox Greez BeNe RE: Postfix and antispamming - Sweeny - 11-02-2007 09:00 AM Hm looks sweet I'm going to test your configuration on one of our backup mx systems ![]() ![]() RE: Postfix and antispamming - BeNe - 11-02-2007 09:18 AM This part should be in your /etc/fail2ban/jail.conf: Code: [postfix] Code: failregex = reject: RCPT from (.*)\[<HOST>\]: 550 Add a info like this: Code: Your IP-Address is banned from our Mailsystems during the next 24 hours /usr/sbin/policyd-weight to every 550 code. You can check the current banned ip´s with Code: iptables -L fail2ban-postfix Greez BeNe |