Setup dovecot for Virtualmin GPL?

2 posts / 0 new
Last post
#1 Wed, 08/01/2007 - 18:14
Alcedema

Setup dovecot for Virtualmin GPL?

Hi,

I installed Virtualmin GPL and created a few domains with email accounts etc.

Receiving emails is fine (sendmail) but then i realised i didn't have dovecot installed. I installed it after virtualmin but I still cannot retreive email. The account I am trying does have email waiting and I can log in.

I've tried looking for documentation regarding virtualmin and dovecot but I don't seem to be able to find anything that helps.

Is there anything I need to set up, mbox wise for dovecot to access the email?

The error in maillog is that it cannot create a dir under /home.../homes/user/mail. Does it even need to do this? As there is already mail being stored on the server somewhere else. I did temporarily set the dir to 777 but still with the same error.

Exerpt from maillog:

Aug 1 17:11:41 amie dovecot: pop3-login: Login: user=<tim.xxxx>, method=PLAIN, rip=xx.xx.xx.xx, lip=yy.yy.yy.yy, TLS Aug 1 17:11:41 amie dovecot: POP3(tim.xxxx): mkdir_parents(/home/xxxx/homes/tim/mail) failed: Permission denied Aug 1 17:11:41 amie dovecot: POP3(tim.xxxx): Failed to create storage with data: mbox:/home/xxxx/homes/tim/mail/:INBOX=/var/mail/tim.xxxx Aug 1 17:11:41 amie dovecot: child 3422 (pop3) returned error 89

Thanks!<br><br>Post edited by: Alcedema, at: 2007/08/01 18:25

Wed, 08/01/2007 - 18:24
Alcedema

I've tried setting the default_mail_env to the location where sendmail stores it (as per http://www.virtualmin.com/index.php?option=com_fireboard&amp;Itemid=77&a...), but still with no luck;

Aug 1 17:21:57 amie dovecot: Dovecot v1.0.rc15 starting up
Aug 1 17:22:00 amie dovecot: pop3-login: Login: user=&lt;tim.xxxx&gt;, method=PLAIN, rip=xx.xx.xx.xx, lip=yy.yy.yy.yy, TLS
Aug 1 17:22:00 amie dovecot: POP3(tim.xxxx): open(/var/spool/mail/tim.xxxx/inbox, O_CREAT) failed: Not a directory
Aug 1 17:22:00 amie dovecot: POP3(tim.xxxx): mkdir_parents(/var/spool/mail/tim.xxxx/.imap/INBOX) failed: Not a directory
Aug 1 17:22:00 amie dovecot: POP3(tim.xxxx): Couldn't open INBOX: Internal error occurred. Refer to server log for more information. [2007-08-01 17:22:00]
Aug 1 17:22:00 amie dovecot: POP3(tim.xxxx): No INBOX for user top=0/0, retr=0/0, del=0/0, size=0

Topic locked