[HowTo] Replace courier with dovecot - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Contributions Area (/forum-40.html) +--- Forum: Howtos (/forum-41.html) +--- Thread: [HowTo] Replace courier with dovecot (/thread-1421.html) |
RE: [HowTo] Replace courier with dovecot - aseques - 10-03-2008 02:10 AM Hi, if the passwords are stored in a know encryption method (haven't look at it in deep yet), it wouldn't be faster to user dovecot directly to check the passwords? Forgive me if I'm wrong, but if every time a pop connection is established there has to be a perl script connecting to the database and retrieving the user info, doing it natively with dovecot + mysql would be less cost expensive I guess. At the moment I don't have any production server using post-encription release so I haven't look at it yet. What's your opinion? RE: [HowTo] Replace courier with dovecot - sci2tech - 10-03-2008 02:18 AM (10-03-2008 02:10 AM)aseques Wrote: Hi, if the passwords are stored in a know encryption method (haven't look at it in deep yet), it wouldn't be faster to user dovecot directly to check the passwords?Encryption used is blowfish cbc. Nor dovecot, nor mysql support this type of encryption. Also ispcp use by default courier, not dovecot. But since there are users that like this mail server I think is my duty to help them. We need an encryption method that is reversible because of sasl that need plain text passwords for postfix so md5/sha1/etc are not suitable. RE: [HowTo] Replace courier with dovecot - sci2tech - 10-03-2008 04:29 AM To make dovecot work with new encripted passwords in database modify dovecot. conf in Quote:base_dir = /var/run/dovecot/. Save attached file as /var/www/ispcp/engine/ispcp-dovecot-mngr and make it executable (chmod 0755 /var/www/ispcp/engine/ispcp-dovecot-mngr). restart dovecot and enjoy. So the problem was file rigths. File were accessible only for root but dovecot runs as vmail user. Please test and confirm if possible. RE: [HowTo] Replace courier with dovecot - Slowman - 10-03-2008 05:20 AM Attachments ispcp-dovecot-mngr ? RE: [HowTo] Replace courier with dovecot - sci2tech - 10-03-2008 05:27 AM Added. But is the same. The only modify needed was user = root} instead of user = vmail} RE: [HowTo] Replace courier with dovecot - BeNe - 10-03-2008 11:34 PM I checked it today. You must set these rights: Code: /var/www/ispcp/engine# ls -l Greez BeNe RE: [HowTo] Replace courier with dovecot - sci2tech - 10-04-2008 03:03 AM @Bene please try my last posted dovecot.conf. Both SquirrelMail and Thunderbird are using imap protocol (and I guess that Roundcube does too) so they do not use database access. I tested and work with both Thunderbird and SquirrelMail on Debian etch and Lenny successfully. If you want you can use also telnet for it: Quote:telnet mail.domain.tld 143With bold you have my commands not bolded answers. Also I need logs from /var/log/syslog if something go wrong so I can figure what it is. RE: [HowTo] Replace courier with dovecot - BeNe - 10-05-2008 12:16 AM I know that it make no sense - every App use IMAP and Thunderbird works. But i found the Problem. I installed pysieved to get serverside rules. And there was still Plaintext in the dovecot.conf in this part. The pysieved server listend to 127.0.0.1 and so every connect from localhost to localhost failed with the Plain login of course. From extern with Thunderbird it works because it was not localhost. I edit the part as you discribed and it works now. Can we put the ispcp-dovecot-mngr in the trunk ? So the dovecot user must not download it and it comes per default. Greez BeNe RE: [HowTo] Replace courier with dovecot - sci2tech - 10-05-2008 12:24 AM I can put it on the trunk but I do not know if we should do this. Officially we support courier not dovecot. But if community say so I`ll add it. Let me know what you think about this. RE: [HowTo] Replace courier with dovecot - BeNe - 10-05-2008 01:00 AM Of course you are right we support courier. But on the other way, it is only a script that is not used by default from ispCP and lies in the engine Folder. Every Dovecot User will be happy with that script to support crypted Passwords. But we should discuss that with more in the Internal Forum. Next is that i want to test a Password Changer in Squirrelmail. But i am not shure if this will work. Because we put a Blowfish PW in the DB... Greez BeNe |