I just noticed something significant. In my email app, I see a lot of junk that shouldn't be there. Those are items within the users home director. The email I'm missing is in a folder "mail" within all that mess. So, for some reason, imap is using the user home directory, instead of the mail directory under that home directory. On 08/14/2014 11:14 AM, Carlos E. R. wrote:
El 2014-08-14 a las 10:50 -0400, James Knott escribió:
On 08/14/2014 04:19 AM, Carlos E. R. wrote:
Of course, if your mail is in another folder, or for several users, you have to adapt that.
I ran the command "find ./ -name '.imap' -type d -exec rm -r -d '{}' \;" from the users directory, which cleared out all the .imap directories.
Ok...
It is also possible that your dovecot config after the migration points to the INBOX, but not to the folders:
/etc/dovecot/local.conf: mail_location = mbox:~/Mail:INBOX=/var/mail/%u
That's mine.
Mine's the same except its "mail:INBOX=", which is where the mail is.
My line above has two entries. One is the system INBOX, which is /var/mail/username (spool is a symlink to it, or the other way round). The other entry, the "mbox:..." part is the directory where the large mail storage is, hundreds of folders.
I think you need that part pointing to the correct place.
After restarting dovecot, the problem remains and there are no .imap directories.
Well, indexes are regenerated when you try to access each folder from the client. It is not done in advance. So if they are not re-generated yet, it means they were not accessed... which points to what I said in the previous paragraph.
-- Cheers Carlos E. R.
(from 13.1 x86_64 "Bottle" (Minas Tirith))
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org