dovecot permission error on pop login

  • gsmithe
  • 10/02/07
  • Offline
Posted: Wed, 2010-03-10 15:49

Hi all,

I just built a virtualmin server on CentOS 5.4 using the install.sh script.

when logging in via pop3 to my first (and only) virtual server, I get an error in my client. I get the following in /var/log/maillog:

Mar 10 15:36:53 mail2 dovecot: pop3-login: Login: user=, method=PLAIN, rip=::ffff:IP.add.re.ss, lip=::ffff:ip.add.re.ss Mar 10 15:37:26 mail2 dovecot: Killed with signal 15 Mar 10 15:37:26 mail2 dovecot: Dovecot v1.0.7 starting up Mar 10 15:37:41 mail2 dovecot: POP3(user@mydomain.name): file_dotlock_open() failed with file /home/mydomain/homes/user/Maildir/dovecot.index.log: Permission denied Mar 10 15:37:41 mail2 dovecot: POP3(user@mydomain.name): file_dotlock_open(/home/mydomain/homes/user/Maildir/dovecot-uidlist) failed: Permission denied Mar 10 15:37:41 mail2 dovecot: POP3(user@mydomain.name): Couldn't init INBOX: Can't sync mailbox: Messages keep getting expunged Mar 10 15:37:41 mail2 dovecot: POP3(user@mydomain.name): Mailbox init failed top=0/0, retr=0/0, del=0/0, size=0

I tried deleting and re-adding the domain, and used different domains. They all give me the same results. I have tried searching the 'Net and the Forum, with no results.

I have added the "FLAGS=-r" and changed the domain name parameters to allow for "@" in the login name.

I have also changed the file /etc/dovecot.conf line for mail location as such: mail_location = maildir:~/Maildir

I'm not sure where to go next...

Thanks,

GS


Howdy, Hmm, what do you see

  • andreychek
  • 01/04/09
  • Offline
  • Thu, 2010-03-11 10:01

Howdy,

Hmm, what do you see if you type this:

ls -l /home/mydomain/homes/user/Maildir

And this as well:

ps auxw | grep dovecot


[root@mail2 user]# ls -l

  • gsmithe
  • 10/02/07
  • Offline
  • Thu, 2010-03-11 15:23

[root@mail2 user]# ls -l /home/mydomain/homes/user/Maildir total 24 drwx------ 2 user@mydomain.com mydomain 4096 Mar 10 15:14 cur drwx------ 2 user@mydomain.com mydomain 4096 Mar 10 15:14 new drwx------ 2 user@mydomain.com mydomain 4096 Mar 10 15:14 tmp [root@mail2 user]# ps auxw | grep dovecot root 4490 0.0 0.0 1880 508 ? Ss Mar10 0:00 /usr/sbin/dovecot root 4491 0.0 0.1 7724 1440 ? S Mar10 0:00 dovecot-auth dovecot 4499 0.0 0.1 4904 1520 ? S Mar10 0:00 imap-login dovecot 4500 0.0 0.1 4904 1764 ? S Mar10 0:00 imap-login dovecot 4501 0.0 0.1 4904 1516 ? S Mar10 0:00 imap-login dovecot 5007 0.0 0.1 4900 1756 ? S Mar10 0:00 pop3-login dovecot 5664 0.0 0.1 4900 1508 ? S Mar10 0:00 pop3-login dovecot 6463 0.0 0.1 4900 1516 ? S Mar10 0:00 pop3-login

never did get it

  • gsmithe
  • 10/02/07
  • Offline
  • Tue, 2010-06-08 07:56

I know this is old, but I should have closed it, so doing it now.

I never did get this resolved. I just wiped the drive and started fresh, and everything worked the second time around. GS