[Dovecot] download IMAP folders via POP3
Hi,
I know my question might sound a little bit strange, but is it possible to download IMAP folders via POP3? I have clients who use POP3 on their main machines and IMAP on their "on the road" notebooks. It would be good to download all folders created on the notebook via POP3 to the main desktop.
Googling brought up some results, but I don't know how to implement...
Thanks Jakob
Jakob Grie?mann wrote:
POP3 should download the newly created folders, unless there are some other idiosyncrasies of which we're not aware. But as a matter of practice, why the mismatch? Better to have users on IMAP from desktop and notebook. Unless this is a mandate "from above" or a legacy issue, move everyone to IMAP!
-- Sahil Tandon <sahil@tandon.net>
Jakob Grießmann wrote:
Is this a real measured problem or a theoretical one?
(Tip: implementing some sort of compression tunnel end to end can really speed up imap header downloads over slower connections (actually I find it speeds up opening larger mailboxes in Thunderbird even over a 5mbit connection...)
Good luck
Ed W
Words by Jakob Grießmann [Thu, Dec 25, 2008 at 06:08:35PM +0100]:
Well, we actualy have that scenario, not for all IMAP folders but for some. We have services that put receipts and unanswered calls and voice mails on IMAP folders (there's acls and a master password allowing them to do that) and we had to enable POP access to that for POP only users.
It's a ugly hack but we have it working.
Googling brought up some results, but I don't know how to implement...
With a ugly hack of course :)
-- Jose Celestino | http://japc.uncovering.org/files/japc-pgpkey.asc
"One man’s theology is another man’s belly laugh." -- Robert A. Heinlein
On Dec 25, 2008, at 7:23 PM, Jose Celestino wrote:
With v1.2 it's less ugly with virtual mailboxes. http://wiki.dovecot.org/Plugins/Virtual
But it doesn't sound like such a good idea to actually use. That just
allows the POP3 client to easily download+delete all messages from all
mailboxes..
On Fri, 2008-12-26 at 14:12 +0100, Jakob Grießmann wrote:
namespace private { prefix = virtual/ location = virtual:~/Maildir/virtual inbox = yes } namespace private { prefix = inbox = no }
Then create ~/Maildir/virtual/INBOX/dovecot-virtual file
Can inbox directories be configured separately for POP3 and IMAP?
Yes, but it's kind of kludgy. What userdb are you using? Basically you'd have to make both namespaces have inbox=no and make userdb return namespace_1_inbox=yes or namespace_2_inbox=yes extra field depending on if the user is logging in with pop3 or imap.
Words by Jakob Grießmann [Fri, Dec 26, 2008 at 02:08:34PM +0100]:
Yes. But it doesn't accomplish the ALL folders as inbox that you want.
You could try Timo's suggestion of 1.2 virtual mailboxes but then again I don't know if it will work with *ALL* folders. Besides that I'm afraid I don't grok why you would want that anyway.
-- Jose Celestino | http://japc.uncovering.org/files/japc-pgpkey.asc
"One man’s theology is another man’s belly laugh." -- Robert A. Heinlein
participants (6)
-
Ed W
-
Jakob Grießmann
-
Jeff Grossman
-
Jose Celestino
-
Sahil Tandon
-
Timo Sirainen