ispCP - Board - Support
Dovecot don't send/recieve mail - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Dovecot don't send/recieve mail (/thread-7942.html)



Dovecot don't send/recieve mail - monalisa - 09-23-2009 06:37 PM

i use ispCP 1.0.2 on ubuntu 8.04 LTS
before i use courier i can send and recieve but when i replace with dovecot i can not send or recieve
this is error message:
Quote:Sep 20 18:37:45 isp dovecot: auth(default): PAM: kill(7082) failed: No such process
Sep 20 18:37:45 isp dovecot: auth(default): pam(monalisa@techfocus.in.th,127.0.0.1): PAM child process 7192 timed out, killing it
Sep 20 18:37:45 isp dovecot: auth(default): PAM: kill(7192) failed: No such process

My tutorial: http://isp-control.net/documentation/doku.php?id=howto:mail:replace_courier_with_dovecot

thanks.


RE: Dovecot don't send/recieve mail - aseques - 09-24-2009 02:17 AM

(09-23-2009 06:37 PM)monalisa Wrote:  i use ispCP 1.0.2 on ubuntu 8.04 LTS
before i use courier i can send and recieve but when i replace with dovecot i can not send or recieve
this is error message:
Did you read the first NOTE?
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/attachment.php?aid=830 Copy it to /var/www/ispcp/engine/ispcp-dovecot-mngr and do a chmod 0755


RE: Dovecot don't send/recieve mail - sci2tech - 09-24-2009 02:53 AM

Not a "How To". Moved


RE: Dovecot don't send/recieve mail - monalisa - 09-24-2009 11:47 AM

(09-24-2009 02:17 AM)aseques Wrote:  
(09-23-2009 06:37 PM)monalisa Wrote:  i use ispCP 1.0.2 on ubuntu 8.04 LTS
before i use courier i can send and recieve but when i replace with dovecot i can not send or recieve
this is error message:
Did you read the first NOTE?
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/attachment.php?aid=830 Copy it to /var/www/ispcp/engine/ispcp-dovecot-mngr and do a chmod 0755

Thank you for your answer but I still in this problem. This is my syslog when I send mail:
Quote:Sep 24 08:37:37 isp dovecot: auth(default): "my" variable $sql masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dovecot-mngr line 68.
Sep 24 08:37:37 isp dovecot: auth(default): "my" variable $rs masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dovecot-mngr line 69.
Sep 24 08:37:37 isp dovecot: auth(default): "my" variable $rows masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dovecot-mngr line 69.
Sep 24 08:37:37 isp dovecot: auth(default): "my" variable $line masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dovecot-mngr line 74.
I can login to my web mail but when is send mail to user, email don't send to user.

Sorry I post in wrong forum. My english is not good.

Thank you.


RE: Dovecot don't send/recieve mail - monalisa - 09-24-2009 08:01 PM

Now I can resolve my problem.
I change my master.cf
Quote:dovecot unix - n n - - pipe
flags=DRhu user=vmail:mail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient} -s
To
Quote:dovecot unix - n n - - pipe
flags=DRhu user=vmail:mail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}

and change dovecot.conf
Quote:protocol imap {
mail_executable = /usr/lib/dovecot/imap
.
.
protocal pop3{
mail_executable = /usr/lib/dovecot/pop3
pop3_uidl_format = %08Xu%08Xv

Now I can send and recieve my email.

Thanks.


RE: Dovecot don't send/recieve mail - kouga - 11-06-2009 04:28 PM

Quote:Sep 24 08:37:37 isp dovecot: auth(default): "my" variable $sql masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dovecot-mngr line 68.
Sep 24 08:37:37 isp dovecot: auth(default): "my" variable $rs masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dovecot-mngr line 69.
Sep 24 08:37:37 isp dovecot: auth(default): "my" variable $rows masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dovecot-mngr line 69.
Sep 24 08:37:37 isp dovecot: auth(default): "my" variable $line masks earlier declaration in same scope at /var/www/ispcp/engine/ispcp-dovecot-mngr line 74.

It seems that when I POP/IMAP, the log messages above apears.

Is this a bug??
Or is my setting wrong...Sad

I've tried the setting mentioned by monalisa, but didn't fix the problem.
Although, sending mail has no problem.

Someone, please give me some help.
OK. Solved.

Update made in [/var/www/ispcp/engines/ispcp-dovecot-mngr] due to the post HERE maybe the problem.

I've deleted the updated part, and it's working fine now.