HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Imap folders missing after changing mail servers - Dovecot Problem (http://www.howtoforge.com/forums/showthread.php?t=51564)

asiri85 22nd February 2011 05:05

Imap folders missing after changing mail servers - Dovecot Problem
 
Hi,

We set up a new mail server and moved users' "cur,new and tmp" folders only into new mail server from old server.In other words we did not copy and paste dovecot.index,dovecot-uidlist,etc into new server from old server because they were created automatically.After bringing the new server up,users(microsoft office outlook) complained their imap folders are missing.I investigated and found below information;

I can see those missing imap folders in old server under 'dovecot-uidlist' as follows;

[root@mail ~]# vi /var/vmail/abc.com.au/kerrie/
.Deleted Items/
dovecot.index
dovecot.index.cache
dovecot.index.log
dovecot.index.log.2
dovecot-uidlist
.INBOX.Air &- Gas/
.INBOX.Amex/
.INBOX.Caltex Starcard/
.INBOX.Creditors NSW/
.INBOX.Creditors NSW.Statements and Invoices/
.INBOX.Creditors QLD/
.INBOX.Creditors QLD.Invoices and Statements/
.INBOX.Debtors/
.INBOX.Export/
.INBOX.Followmont Transport/
.INBOX.Gameco New Zealand/.Junk E-mail/

But in new server,'dovecot-uidlist' is not containing those folders.

[root@mail ~]# vi /var/vmail/abc.com.au/kerrie/Maildir/
cur/ dovecot-uidlist .Sent Items/
.Deleted Items/ .Drafts/ subscriptions
dovecot.index .Junk E-mail/ tmp/
dovecot.index.cache new/ .Trash/
dovecot.index.log .Sent/


So I want to have those missing folders which are already in old server in new server too.So users can see their disappeared imap folders again.I saw in dovecot wiki,it is not recommended to edit 'dovecot-uidlist' manually.Please give me a solution.Thank you in advance.

till 22nd February 2011 08:09

I guess you will have to edit the dovecot-uidlist file manually. The only other option that I'am aware of is to use a imap client like outlook or thunderbird to connect to the mailbox and use imap commands to change the subscriptions of the folders.


All times are GMT +2. The time now is 14:16.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.