virtualmin and mail server...

8 posts / 0 new
Last post
#1 Thu, 05/07/2009 - 02:54
neorf

virtualmin and mail server...

i've just installed virtualmin gpl on ubuntu 8.04 using script install.sh. Everything seem fine, i create email account but when i try to setup my email client, i get this message: "you cannont log in to mail.mytalke.com because the server has disabled login. you may nedd to connect via SSL or TLS. etc..." what have i to do? thanks

neorf

Thu, 05/07/2009 - 03:34
neorf

Now this is ok, it was error about plain text authentication on devcot.
now i've other problem:
<b>&quot;The STAT command did not succeeded. ERror gettin message numbere and sizes... mail server mail.mytalke.com respondend: couldn't open INBOX: internal error occurred...&quot;</b>

thanks 4 help...

neorf

Thu, 05/07/2009 - 04:23 (Reply to #2)
andreychek

Howdy,

Do you see any errors in the email log, /var/log/mail.log? It generally lists the full details of whatever the issue is.
-Eric

Thu, 05/07/2009 - 04:33 (Reply to #3)
neorf

i think this is the error, permission deniend, and how can i fix it?
thenk inside dovecot.conf this is the mail_location configuration:
<b>mail_location = maildir:~/Maildir:INDEX=/var/lib/dovecot/index/%u:CONTROL=/var/lib/dovecot/control/%u</b>

<b>Here attached the mail.log:</b>
May 7 15:23:18 stock dovecot: pop3-login: Login: user=&lt;info.mytalke&gt;, method=PLAIN, rip=87.12.246.254, lip=94.23.46.169
May 7 15:23:18 stock dovecot: POP3(info.mytalke): mkdir(/var/lib/dovecot/index/info.mytalke/.INBOX) failed: Permission denied
May 7 15:23:18 stock dovecot: POP3(info.mytalke): mkdir(/var/lib/dovecot/control/info.mytalke/.INBOX) failed: Permission denied
May 7 15:23:18 stock dovecot: POP3(info.mytalke): mkdir(/var/lib/dovecot/index/info.mytalke/.INBOX) failed: Permission denied
May 7 15:23:18 stock dovecot: POP3(info.mytalke): mkdir(/var/lib/dovecot/control/info.mytalke/.INBOX) failed: Permission denied
May 7 15:23:19 stock dovecot: POP3(info.mytalke): Couldn't open INBOX: Internal error occurred. Refer to server log for more information.

Thu, 05/07/2009 - 04:46 (Reply to #4)
andreychek

Okay, try running this command:

[code:1]
chmod 777 /var/lib/dovecot /var/lib/dovecot/control /var/lib/dovecot/index
[/code:1]

And then try restarting Dovecot (/etc/init.d/dovecot restart), and see if that does the trick for you.
-Eric

Thu, 05/07/2009 - 07:03 (Reply to #5)
Joe
Joe's picture

I think we're correcting this in Virtualmin 3.69 by moving those files out to /var/lib/virtualmin-dovecot. This proved to be an issue on recent CentOS Dovecot packages, as well.

--

Check out the forum guidelines!

Thu, 05/07/2009 - 07:17
neorf

ok, now it's working, thanks a lot :D
I've still to try sending email via server, do you think i get some errors?
thanks

neorf

Thu, 05/07/2009 - 07:20 (Reply to #7)
andreychek

The best thing you could do, I think, is to try sending an email, and if it doesn't work, take a look in the email log -- /var/log/mail.log.

It appears that we solved the issue with Dovecot, so if you happen to get any errors in sending emails, it's an unrelated issue :-)
-Eric

Topic locked