LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How can I not show my home dir when syncing IMAP? (https://www.linuxquestions.org/questions/linux-server-73/how-can-i-not-show-my-home-dir-when-syncing-imap-532358/)

nuzzy 02-25-2007 06:04 PM

How can I not show my home dir when syncing IMAP?
 
Hi all,

I set up an e-mail server using Debian 3.1, Postfix and uw-imap. The install went fine. hwever, when using OE to sync down my IMAP folders it show all the files and folder in my home directory as well as the only ones I want showing - "Inbox", "Sent Items" and "Drafts". How can I not make it show the other items?

unSpawn 02-25-2007 08:35 PM

IMAP keeps your subscriptions in a file called ".mailboxlist".
You can populate it manually with:
Code:

cd ~
umask 027
cat << EOL > ~/.mailboxlist
Inbox
Sent Items
Drafts
EOL
find mail -type f >> ~/.mailboxlist

Done.

nuzzy 02-25-2007 10:04 PM

Thank You for the reply !

luvmax 04-27-2011 03:38 PM

Actually, I'm having this problem on my iphone with both imap and z-push (using imap - though all that does do is show the folders - no actual mail).

I have a .mailboxlist file listing a handful of 'folders' but the iphone shows everything in my home directory as if its a folder. Surely, this can only happen if the imapd is passing on that information so what's wrong?


All times are GMT -5. The time now is 07:14 PM.