Current time: 04-26-2024, 08:21 AM Hello There, Guest! (LoginRegister)


Thread Closed 
[HowTo] Replace courier with dovecot
Author Message
bpratt Offline
Junior Member
*

Posts: 71
Joined: Oct 2007
Reputation: 0
Post: #111
RE: [HowTo] Replace courier with dovecot
just installed this dovecot, and having problems with it due to the instructions not being quite right with RC7.

The errors in my mail.err file is :-

Feb 1 20:54:33 admin dovecot: Internal error while decrypting password for username andywelding@yyyy.com from 202.47
Feb 1 20:54:33 admin dovecot: auth(default): checkpassword(andywelding@yyyy.com,202.47.118.136): Child 23902 exited
02-01-2009 08:58 PM
Find all posts by this user
bpratt Offline
Junior Member
*

Posts: 71
Joined: Oct 2007
Reputation: 0
Post: #112
RE: [HowTo] Replace courier with dovecot
So does anyone know if there's an easy way to roll back from dovecot to courier ?

Was looking forward to using dovecot here, but if no one can help me out with this major issue I am having with it, I will have to roll back as this is a live install here.
02-02-2009 09:32 AM
Find all posts by this user
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #113
RE: [HowTo] Replace courier with dovecot
(02-02-2009 09:32 AM)bpratt Wrote:  So does anyone know if there's an easy way to roll back from dovecot to courier ?
No idea, never had any motivation to move back Tongue
(02-02-2009 09:32 AM)bpratt Wrote:  Was looking forward to using dovecot here, but if no one can help me out with this major issue I am having with it, I will have to roll back as this is a live install here.
Did you read the manual from here? http://isp-control.net/documentation/how...th_dovecot

Quote:NOTE: Somewhere in between rc6 and 1.0.0, password encryption was added, and so the passwords in clear text are no longer working. Here you can grap a perl script writen by sci2tech that handle the verification of the passwords for dovecot. http://www.isp-control.net/forum/showthr...5#pid37295 Copy it to /var/www/ispcp/engine/ispcp-dovecot-mngr and do a chmod 0755

If you're having problems still after following that guide, try enabling auth debugging and post the contents in this forum.
02-02-2009 06:41 PM
Find all posts by this user
bpratt Offline
Junior Member
*

Posts: 71
Joined: Oct 2007
Reputation: 0
Post: #114
RE: [HowTo] Replace courier with dovecot
(02-02-2009 06:41 PM)aseques Wrote:  
(02-02-2009 09:32 AM)bpratt Wrote:  So does anyone know if there's an easy way to roll back from dovecot to courier ?
No idea, never had any motivation to move back Tongue
(02-02-2009 09:32 AM)bpratt Wrote:  Was looking forward to using dovecot here, but if no one can help me out with this major issue I am having with it, I will have to roll back as this is a live install here.
Did you read the manual from here? http://isp-control.net/documentation/how...th_dovecot

Quote:NOTE: Somewhere in between rc6 and 1.0.0, password encryption was added, and so the passwords in clear text are no longer working. Here you can grap a perl script writen by sci2tech that handle the verification of the passwords for dovecot. http://www.isp-control.net/forum/showthr...5#pid37295 Copy it to /var/www/ispcp/engine/ispcp-dovecot-mngr and do a chmod 0755

If you're having problems still after following that guide, try enabling auth debugging and post the contents in this forum.

Yep, done all that with the ispcp-dovecot-mngr.

Enabling auth debugging? exactly where do I need to turn on this debugging switch ?

I'd really like to get dovecot running though.
02-02-2009 07:09 PM
Find all posts by this user
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #115
RE: [HowTo] Replace courier with dovecot
http://wiki.dovecot.org/Debugging/Authentication

I don't think you have taken a look there, did you?
02-02-2009 07:15 PM
Visit this user's website Find all posts by this user
bpratt Offline
Junior Member
*

Posts: 71
Joined: Oct 2007
Reputation: 0
Post: #116
RE: [HowTo] Replace courier with dovecot
(02-02-2009 07:15 PM)rbtux Wrote:  http://wiki.dovecot.org/Debugging/Authentication

I don't think you have taken a look there, did you?

Nope, not in there as I was hoping someone that had used dovecot with ispcp and had also come across the same problem as myself.

Thanks for the link, I'll look in to it and provide more information if I still can't work it out for myself. Smile
02-02-2009 07:33 PM
Find all posts by this user
bpratt Offline
Junior Member
*

Posts: 71
Joined: Oct 2007
Reputation: 0
Post: #117
RE: [HowTo] Replace courier with dovecot
(02-02-2009 06:41 PM)aseques Wrote:  If you're having problems still after following that guide, try enabling auth debugging and post the contents in this forum.

Ok, done all that again, and here's the debug log. Sad

//MOD EDIT: SET CODE SYNTAX! -BeNe

Code:
Feb  2 21:50:23 admin dovecot: auth(default): client in: AUTH^I1^IPLAIN^Iservice=IMAP^Ilip=203.55.214.70^Irip=203.xx.xx.x
Feb  2 21:50:23 admin dovecot: auth(default): client out: CONT^I1^I
Feb  2 21:50:23 admin dovecot: auth(default): client in: CONT^I1^IAGJwcmF0dEBvaWguY29tLmF1AEVkd2FyZA==
Feb  2 21:50:23 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): Executed: /var/www/ispcp/engine/ispcp-dovecot-mngr /usr/lib/dovecot/checkpassword-reply
Feb  2 21:50:24 admin dovecot: Internal error while decrypting password for username bpratt@zzz.com from 203.xx.xx.x for IMAP server
Feb  2 21:50:24 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): Received no input
Feb  2 21:50:24 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): exit_status=111
Feb  2 21:50:24 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): Child 22509 exited with status 111
Feb  2 21:50:24 admin dovecot: auth(default): client out: FAIL^I1^Iuser=bpratt@zzz.com^Itemp
Feb  2 21:50:24 admin dovecot: auth(default): client in: AUTH^I2^IPLAIN^Iservice=IMAP^Ilip=203.yy.yyy.yy^Irip=203.xx.xx.x^Iresp=AGJwcmF0d​EBvaWguY29tLmF1AEVk
Feb  2 21:50:24 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): Executed: /var/www/ispcp/engine/ispcp-dovecot-mngr /usr/lib/dovecot/checkpassword-reply
Feb  2 21:50:24 admin dovecot: Internal error while decrypting password for username bpratt@zzz.com from 203.xx.xx.x for IMAP server
Feb  2 21:50:24 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): Received no input
Feb  2 21:50:24 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): exit_status=111
Feb  2 21:50:24 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): Child 22624 exited with status 111
Feb  2 21:50:26 admin dovecot: auth(default): client out: FAIL^I2^Iuser=bpratt@zzz.com^Itemp
Feb  2 21:50:30 admin dovecot: auth(default): client in: AUTH^I3^IPLAIN^Iservice=IMAP^Ilip=203.yy.yyy.yy^Irip=203.xx.xx.x
Feb  2 21:50:30 admin dovecot: auth(default): client out: CONT^I3^I
Feb  2 21:50:30 admin dovecot: auth(default): client in: CONT^I3^IAGJwcmF0dEBvaWguY29tLmF1AEVkd2FyZA==
Feb  2 21:50:30 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): Executed: /var/www/ispcp/engine/ispcp-dovecot-mngr /usr/lib/dovecot/checkpassword-reply
Feb  2 21:50:30 admin dovecot: Internal error while decrypting password for username bpratt@zzz.com from 203.xx.xx.x for IMAP server
Feb  2 21:50:31 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): Received no input
Feb  2 21:50:31 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): exit_status=111
Feb  2 21:50:31 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): Child 23629 exited with status 111
Feb  2 21:50:32 admin dovecot: auth(default): client out: FAIL^I3^Iuser=bpratt@zzz.com^Itemp
Feb  2 21:50:32 admin dovecot: auth(default): client in: AUTH^I4^IPLAIN^Iservice=IMAP^Ilip=203.yy.yyy.yy^Irip=203.xx.xx.x^Iresp=AGJwcmF0d​EBvaWguY29tLmF1AEVk
Feb  2 21:50:32 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): Executed: /var/www/ispcp/engine/ispcp-dovecot-mngr /usr/lib/dovecot/checkpassword-reply
Feb  2 21:50:32 admin dovecot: Internal error while decrypting password for username bpratt@zzz.com from 203.xx.xx.x for IMAP server
Feb  2 21:50:32 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): Received no input
Feb  2 21:50:32 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): exit_status=111
Feb  2 21:50:32 admin dovecot: auth(default): checkpassword(bpratt@zzz.com,203.xx.xx.x): Child 23914 exited with status 111
Feb  2 21:50:34 admin dovecot: auth(default): client out: FAIL^I4^Iuser=bpratt@zzz.com^Itemp
Feb  2 21:50:35 admin dovecot: imap-login: Aborted login: user=<bpratt@zzz.com>, method=PLAIN, rip=203.xx.xx.x, lip=203.yy.yyy.yy
(This post was last modified: 02-02-2009 10:38 PM by BeNe.)
02-02-2009 10:26 PM
Find all posts by this user
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #118
RE: [HowTo] Replace courier with dovecot
It's really strange, I just did a fresh install, following all the steps in the wiki using a Debian etch 4.0.
Everything is working fine for me using 1.0.rc15-2etch4

This is what you should see:
Quote:Feb 5 10:51:39 t1000 dovecot: auth(default): checkpassword(testing@example.com,123.123.123.123): Executed: /var/www/ispcp/engine/ispcp-dovecot-mngr /usr/lib/dovecot/checkpassword-reply
Feb 5 10:51:39 t1000 dovecot: auth(default): checkpassword(testing@example.com,123.123.123.123): Received input: userdb_user=testing@example.com^Iuserdb_home=/var/mail/virtual/example.com/testing^Iuserdb_uid=1000^Iuserdb_gid=8^Iuserdb_mail=maildir:/var/mail/virtual/example.com/testing^I
Might it be that you have something that prevents the perl script to start (extra lines at the begin, something missing, ...)?
Can you try to copy/chmod the script again?
02-05-2009 08:59 PM
Find all posts by this user
bpratt Offline
Junior Member
*

Posts: 71
Joined: Oct 2007
Reputation: 0
Post: #119
RE: [HowTo] Replace courier with dovecot
(02-05-2009 08:59 PM)aseques Wrote:  It's really strange, I just did a fresh install, following all the steps in the wiki using a Debian etch 4.0.
Everything is working fine for me using 1.0.rc15-2etch4


Might it be that you have something that prevents the perl script to start (extra lines at the begin, something missing, ...)?
Can you try to copy/chmod the script again?

Yep, have now done what you suggested, however it has made no difference whatsoever. Sad

Same old " dovecot: Internal error while decrypting password for username" is what it comes up with all the time.

Seems like the sql stuff is working, but can not seem to get around the decrypting the passwords. Sad
02-07-2009 12:15 PM
Find all posts by this user
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #120
RE: [HowTo] Replace courier with dovecot
Quote:Seems like the sql stuff is working, but can not seem to get around the decrypting the passwords. Sad
Have you tried to log all the mysql queries? If you add this line in /etc/mysql/my.cnf
log = /var/log/mysql/mysql.log

You'll have all the queries in the file. It's bad for the performance, but it might show you where the problem is ...

Good luck
02-10-2009 01:46 AM
Find all posts by this user
Thread Closed 


Forum Jump:


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