[Dovecot] different views of a imap account
Hi,
I've looked around a few times to see if I could figure the answer to this question but I think I may not know the right question to ask...
The scenario I have is that I'm running dovecot, exim and procmail on one server (using maildir storage) and also have apache on another server. I can run squirrel mail, roundcube, etc. all on the web server and access all my email just fine. I can run outlook or thunderbird or other imap clients just fine too.
I have some smart phones that support imap mail servers, but when I set them up to connect to my server, the client seems to have to sync up data on all the mailboxes (lots of headers to download). All I really want on my remote (phone based) imap clients is to view my inbox. I believe that the subscriptions are done globally in that every client sees the same subscriptions, so that doesn't seem like the way to narrow down what my phone imap clients see.
Does what I'd like to do make sense? Is there a way to configure dovecot to support this? Could I just run two servers on the same machine at different ports to support this?
I'd love to hear about how others have approached this or similar problems. I've seen a lite email client that can be run on an apache server that wap browsers can access to view mail. That works okay, but with phones having built in imap clients, that seems like a more streamlined way to go ;-)
Thanks for you thoughts!
-- Jay
On 12/2/2009 6:21 PM, Ajaxster wrote:
Hi,
I've looked around a few times to see if I could figure the answer to this question but I think I may not know the right question to ask...
The scenario I have is that I'm running dovecot, exim and procmail on one server (using maildir storage) and also have apache on another server. I can run squirrel mail, roundcube, etc. all on the web server and access all my email just fine. I can run outlook or thunderbird or other imap clients just fine too.
I have some smart phones that support imap mail servers, but when I set them up to connect to my server, the client seems to have to sync up data on all the mailboxes (lots of headers to download). All I really want on my remote (phone based) imap clients is to view my inbox. I believe that the subscriptions are done globally in that every client sees the same subscriptions, so that doesn't seem like the way to narrow down what my phone imap clients see.
On my HTC Touch Pro (Windows Mobile), it has its own idea of what the folder subscriptions are and doesn't track the IMAP subscription info. Which is good, because it chokes on my archive folders with a few thousand messages per year. So I'm able to tell it to only look at Sent & Inbox without messing up the subscriptions on the other IMAP clients that also access that mailbox.
My other suggestion... split your high volume folders out to a 2nd IMAP account.
On Wed, 2009-12-02 at 15:21 -0800, Ajaxster wrote:
I have some smart phones that support imap mail servers, but when I set them up to connect to my server, the client seems to have to sync up data on all the mailboxes (lots of headers to download). All I really want on my remote (phone based) imap clients is to view my inbox.
Use a symlink to your inbox, for example if your normal maildir is in ~/Maildir/ create:
mkdir ~/Maildir/mobile ln -s .. ~/Maildir/mobile/.INBOX
Then make the Maildir/mobile/ accessible. If your IMAP client supports configurable namespace prefix, you could create another namespace:
namespace private { prefix = mobile. location = maildir:~/Maildir/mobile list = no hidden = yes }
Or alternatively create another user account that only sees the INBOX.
participants (3)
-
Ajaxster
-
Thomas Harold
-
Timo Sirainen