Change index location problem

igord igord at bra.in.rs
Wed Jun 11 12:58:52 UTC 2014


> Did you've restarted Dovecot after changing the conf file?

Yes, few times.

> What's in the logs? Maybe you need to enable mail_debug.

I've enabled now mail_debug, and looks like Dovecot doesn't see new index
location:

Jun 11 12:36:16 dovecot: imap(e-mail at domain): Debug: maildir++:
root=/var/vmail/domain/user, index=, control=, inbox=/var/vmail/domain/user

# dovecot -n | grep location
mail_location = maildir:/var/vmail/%d/%u:INDEX=/media/ephemeral0/%u

> What's the permission of /media? 

Currently it's 777 and vmail:mail, which is a user for storing e-mails, but
I tried with dovecot:dovecot which Dovecot daemon is running.

# ls -la /

drwxrwxrwx   3 vmail mail  4096 Apr  8 21:29 media

# ls -la /media

drwxrwsrwx  2 vmail mail 4096 Jun 11 11:41 ephemeral0



--
View this message in context: http://dovecot.2317879.n4.nabble.com/Change-index-location-problem-tp48468p48473.html
Sent from the Dovecot mailing list archive at Nabble.com.


More information about the dovecot mailing list