Current time: 11-25-2024, 06:30 PM Hello There, Guest! (LoginRegister)


Post Reply 
Dovecot don't send/recieve mail
Author Message
monalisa Offline
Newbie
*

Posts: 6
Joined: Sep 2009
Reputation: 0
Post: #1
Dovecot don't send/recieve mail
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/dok...th_dovecot

thanks.
(This post was last modified: 09-23-2009 06:53 PM by monalisa.)
09-23-2009 06:37 PM
Find all posts by this user Quote this message in a reply
aseques Offline
Member
*****
Dev Team

Posts: 330
Joined: May 2008
Reputation: 4
Post: #2
RE: Dovecot don't send/recieve mail
(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
09-24-2009 02:17 AM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #3
RE: Dovecot don't send/recieve mail
Not a "How To". Moved
09-24-2009 02:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
monalisa Offline
Newbie
*

Posts: 6
Joined: Sep 2009
Reputation: 0
Post: #4
RE: Dovecot don't send/recieve mail
(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.
09-24-2009 11:47 AM
Find all posts by this user Quote this message in a reply
monalisa Offline
Newbie
*

Posts: 6
Joined: Sep 2009
Reputation: 0
Post: #5
RE: Dovecot don't send/recieve mail
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.
(This post was last modified: 09-24-2009 08:07 PM by monalisa.)
09-24-2009 08:01 PM
Find all posts by this user Quote this message in a reply
kouga Offline
Junior Member
*

Posts: 22
Joined: May 2009
Reputation: 0
Post: #6
RE: Dovecot don't send/recieve 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.

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.
(This post was last modified: 11-06-2009 04:46 PM by kouga.)
11-06-2009 04:28 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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