Current time: 11-22-2024, 09:44 PM Hello There, Guest! (LoginRegister)


Thread Closed 
[HowTo] Replace courier with dovecot
Author Message
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #91
RE: [HowTo] Replace courier with dovecot
(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?
10-06-2008 06:07 PM
Find all posts by this user
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #92
RE: [HowTo] Replace courier with dovecot
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
10-06-2008 06:14 PM
Visit this user's website Find all posts by this user
Kotty Offline
Junior Member
*

Posts: 167
Joined: Mar 2008
Reputation: 3
Post: #93
RE: [HowTo] Replace courier with dovecot
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?
10-21-2008 12:02 AM
Find all posts by this user
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #94
RE: [HowTo] Replace courier with dovecot
If there is any error generated by login script you find this errors in syslog
10-21-2008 02:16 AM
Visit this user's website Find all posts by this user
Kotty Offline
Junior Member
*

Posts: 167
Joined: Mar 2008
Reputation: 3
Post: #95
RE: [HowTo] Replace courier with dovecot
i've solved it by deactivating this line:
virtual_transport = dovecot
at /etc/postfix/main.cf
(This post was last modified: 10-21-2008 05:51 PM by Kotty.)
10-21-2008 05:50 PM
Find all posts by this user
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #96
RE: [HowTo] Replace courier with dovecot
(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...th_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
(This post was last modified: 10-24-2008 03:19 AM by aseques.)
10-24-2008 02:43 AM
Find all posts by this user
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #97
RE: [HowTo] Replace courier with dovecot
(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?
(This post was last modified: 10-24-2008 04:20 AM by sci2tech.)
10-24-2008 04:09 AM
Visit this user's website Find all posts by this user
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #98
RE: [HowTo] Replace courier with dovecot
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)
10-24-2008 05:13 PM
Find all posts by this user
shox Offline
Junior Member
*

Posts: 43
Joined: Dec 2008
Reputation: 0
Post: #99
RE: [HowTo] Replace courier with dovecot
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 )
12-16-2008 06:23 AM
Find all posts by this user
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #100
RE: [HowTo] Replace courier with dovecot
Thenn have a look at the permissions in

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

/J
12-16-2008 05:53 PM
Visit this user's website Find all posts by this user
Thread Closed 


Forum Jump:


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