Arkadiusz Miskiewicz
2007-Mar-28 08:49 UTC
[Dovecot] ignoring some subfolders [potential wishlist]
Hello I'm looking at migration path from my current setup (tpop3d/courier-imap) and I seem to miss one feature - ability to ignore some subfolders for pop3. tpop3d allows me to say: maildir-ignore-folders: Spam Trash trash Sent sent-mail POP3-Invisible (would be stupid to fetch own sent-mail via pop3 again 8-) In recent tpop3d cvs version I can also use regexps like maildir-ignore-folders: ^IMAP-Only.*$. Is it possible to ignore some subfolders in dovecot per protocol (like for pop3 only and not imap) ? If not then please consider this as wishlist, maybe in form of location negation like: mail_location = \ maildir:/var/mail/%Lu:!maildir:/var/mail/%Lu/.Something (which doesn't look sane) or with separate config directive like in tpop3d -- Arkadiusz Mi?kiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/
Timo Sirainen
2007-Mar-28 16:53 UTC
[Dovecot] ignoring some subfolders [potential wishlist]
On 28.3.2007, at 11.49, Arkadiusz Miskiewicz wrote:> tpop3d allows me to say: > maildir-ignore-folders: Spam Trash trash Sent sent-mail POP3-Invisible > (would be stupid to fetch own sent-mail via pop3 again 8-)POP3 has only one mailbox, so what does it do to non-ignored folders? Does it merge all of them into one virtual POP3 INBOX? With Dovecot the POP3 shows only the one real INBOX's contents. Some day in future there will be support for virtual folders, and if you need POP3 to show more than just the real INBOX then you can create a virtual INBOX. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20070328/5c001abb/attachment.bin>
Arkadiusz Miskiewicz
2007-Mar-28 17:21 UTC
[Dovecot] ignoring some subfolders [potential wishlist]
On Wednesday 28 of March 2007, Timo Sirainen wrote:> On 28.3.2007, at 11.49, Arkadiusz Miskiewicz wrote: > > tpop3d allows me to say: > > maildir-ignore-folders: Spam Trash trash Sent sent-mail POP3-Invisible > > (would be stupid to fetch own sent-mail via pop3 again 8-) > > POP3 has only one mailbox, so what does it do to non-ignored folders? > Does it merge all of them into one virtual POP3 INBOX?tpop3d has a option maildir-recursion: yes that makes it merge all subfolders in one virtual inbox. Very nice and usefull thing. With additional maildir-ignore-folders: Spam Trash trash Sent sent-mail POP3-Invisible and proper MTA settings spams goes to POP3-Spam subfolder but user can change things and MTA will start deliver to Spam folder (which is invisible via pop3) so user simply chooses whether he wants or not to see spam emails etc. User can still use imap based webmail or connect to imap and see other, pop3-ignored folders.> With Dovecot the POP3 shows only the one real INBOX's contents. Some > day in future there will be support for virtual folders, and if you > need POP3 to show more than just the real INBOX then you can create a > virtual INBOX.Uh, recursive subfolders is basic functionality that I unfortunately need :-\ I'll look into sources to see how much work is needed then. -- Arkadiusz Mi?kiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/