Current time: 04-19-2024, 03:09 PM Hello There, Guest! (LoginRegister)


Post Reply 
[HowTo] Replace courier with dovecot
Author Message
Proci Offline
Junior Member
*

Posts: 30
Joined: Oct 2010
Reputation: 0
Post: #75
RE: [HowTo] Replace courier with dovecot
(08-24-2012 04:07 PM)aseques Wrote:  
(08-23-2012 09:43 PM)Proci Wrote:  Hi
I have Debian 6 + ispcp 1.0.7 + dovecot system.
I used this tutorial: http://isp-control.net/documentation/how...th_dovecot
I have problem, when brute force connect pop3/imap, then ispcp-dovecot-mngr processs create high load.
How do I replace ispcp-dovecot-mngr to sql ? (skippin ispcp-dovecot-mngr)

To avoid brute force attacks, the best solution for you is to install something like fail2ban to block those attackers.
There's no easy way to avoid using the ispcp-dovecot-mngr because of the password encryption that's being used.

Thank you for your answer. I use fail2ban, but there are many different ip addresses is not good ( botnet! )
I solved it! Smile
I rewrote the ispCP-mbox-mngr function calls + I wrote a plain password -> CRAM-MD5 password converter, so ISPCP natively use dovecot passdb the courier userdb instead.
It rewrite functon use "user@domain.dot:{CRAM-MD5}password" dovecot passdb format.
I tested 60 parallel established connection 5sec timeout brute force.
- ispcp-dovecot-mngr: 100% cpu (bluefish decode/encode)
- native dovecot passwd: 1-7% cpu
CPU: Intel Xeon 5620 one core (VPS)

+ I wrote a script to convert from existing mail_users database passwords to dovecot passdb.

I will soon be published. Now I test a few days.
(This post was last modified: 08-24-2012 04:40 PM by Proci.)
08-24-2012 04:33 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [HowTo] Replace courier with dovecot - Proci - 08-24-2012 04:33 PM

Forum Jump:


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