ispCP - Board - Support
[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)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13


RE: [HowTo] Replace courier with dovecot - aseques - 10-06-2008 06:07 PM

(10-05-2008 01:00 AM)BeNe Wrote:  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.
Totally agree, if you can make Dovecot users' live easier without causing problems to the rest, it's a win-win solution.
As soon I can, I'll update the wiki to reflect the new options ..

NOTE: Never heard before about the blowfish cbc, and haven't find much information, can you point me to some reading?


RE: [HowTo] Replace courier with dovecot - BeNe - 10-06-2008 06:14 PM

Quote:As soon I can, I'll update the wiki to reflect the new options ..
Thumbs UP! Thanks man!

We discuss that we only add the script in the Wiki and not in the Trunk.
But this is OK in my eyes. So we support in not offical but it will work Wink
It is currently running so on my Server.

Greez BeNe


RE: [HowTo] Replace courier with dovecot - Kotty - 10-21-2008 12:02 AM

i've added this to my server but now it doesn't accept any mails Sad
this failure i've found at /var/log/mail.log

Quote:ispcp dovecot: auth(default): prefetch(test@xxx.de): passdb didn't return userdb entries

and then the mail is bounced back with
Quote:I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system <test@xxx.de>: user unknown

I think that problem is caused by the script but i don't find the failure.

Any ideas?


RE: [HowTo] Replace courier with dovecot - sci2tech - 10-21-2008 02:16 AM

If there is any error generated by login script you find this errors in syslog


RE: [HowTo] Replace courier with dovecot - Kotty - 10-21-2008 05:50 PM

i've solved it by deactivating this line:
virtual_transport = dovecot
at /etc/postfix/main.cf


RE: [HowTo] Replace courier with dovecot - aseques - 10-24-2008 02:43 AM

(10-21-2008 05:50 PM)Kotty Wrote:  i've solved it by deactivating this line:
virtual_transport = dovecot
at /etc/postfix/main.cf

You still can do the userdb check on the database while keeping the passdb on through the perl script.
This way, you can keep dovecot deliver for the delivery, and have working quotas and all that ...
Code:
auth default {
  mechanisms = plain login
  passdb checkpassword {
  args = /var/www/ispcp/engine/ispcp-dovecot-mngr
  }
  userdb sql {
   args = /etc/dovecot/dovecot-sql-domain.conf
  }
  userdb sql {
    args = /etc/dovecot/dovecot-sql-aliasdomain.conf
  }
  userdb sql {
   args = /etc/dovecot/dovecot-sql-subdomain.conf
  }
The only thing you have to do is to keep the userdb entries like in the wiki, but skip the passdb entries related to SQL since it's done by the perl script now
Hey, finally I updated the HOWTO in http://www.isp-control.net/documentation/howto/mail/replace_courier_with_dovecot

Everything seems to be working fine in my testing install (webmail/imap, delivery, pop3)

Note: Could anyone put the ispcp-dovecot-mngr in the svn tree? I am afraid that people will overlook the note and en up with non-working installations.

Cheers


RE: [HowTo] Replace courier with dovecot - sci2tech - 10-24-2008 04:09 AM

(10-24-2008 02:43 AM)aseques Wrote:  Note: Could anyone put the ispcp-dovecot-mngr in the svn tree? I am afraid that people will overlook the note and en up with non-working installations.
Dev team decided that this script will not be added to svn, because ispcp support only courier, not dovecot (my vote was against inclusion too). We need to keep ispcp code as simple as possible, and not confuse users about default mail server in use. If possible and if is necessary, I`ll offer updates to this script, but this belong to wiki not to svn. Maybe you can add code to wiki how to?


RE: [HowTo] Replace courier with dovecot - aseques - 10-24-2008 05:13 PM

sci2tech Wrote:you can add code to wiki how to?

I would, since pointing someone to a forum thread that might change is not very practical, but the wiki doesn't allow me to upload files (as far as I know) and posting the whole code maybe would confuse the people too (too much code to copy)


RE: [HowTo] Replace courier with dovecot - shox - 12-16-2008 06:23 AM

The only error i got is:

Code:
Dec 15 21:22:29 stock dovecot: chdir(/var/mail/virtual/myk1ng.info/k1ng) failed with uid 1001: Permission denied
Dec 15 21:22:29 stock dovecot: pop3-login: Login: user=<k1ng@myk1ng.info>, method=PLAIN, rip=84.163.115.226, lip=91.121.147.64
Dec 15 21:22:29 stock dovecot: child 18513 (pop3) returned error 89


i have set the permissions.. ( its an old mailbox, i cant remove this )


RE: [HowTo] Replace courier with dovecot - joximu - 12-16-2008 05:53 PM

Thenn have a look at the permissions in

/var/mail/virtual/myk1ng.info/k1ng
/var/mail/virtual/myk1ng.info
/var/mail/virtual/

/J