[Dovecot] Replacing real inbox by virtual inbox
Timo Sirainen
tss at iki.fi
Mon Jul 5 15:19:24 EEST 2010
On Mon, 2010-06-28 at 15:30 +0200, François-Xavier Payet wrote:
> I'm using dovecot 1.2.11 with virtual folders. I'd like to
> replace my real INBOX by a virtual one but I have several questions :
>
> *
> will my mail still be delivered to my real INBOX?
There are a few possibilities..
1) You could set !RealMails/INBOX so that saving to virtual inbox gets
saved to real inbox (similar to as explained in wiki).
2) Enable virtual INBOX only for IMAP protocol.
> * will I be able to
> access my real INBOX, for example using a virtual folder reliyng on INBOX
Yes, either create a virtual mailbox containing only RealMails/INBOX
rule, or alternatively create some kind of a symlink to filesystem (e.g.
ln -s . .real-inbox
> Here's my problem, if I look to the wiki page [1], I
> don't really understand what the _NAMESPACE_1_INBOX_ and the
> _NAMESPACE_2_INBOX_ stands for.
NAMESPACE_1_INBOX=yes maps to first namespace { inbox=yes }, _2_ maps to
second namespace. With v2.0 this is clearer, because you can name the
namespaces and access them via names rather than numbers.
> Plus, I can't put my paths in my scripts,
> as they use %d and %u (see below) which, if I understand correctly, aren't
> available for PostLoginScripts.
In post-login scripts you have access to $HOME.
More information about the dovecot
mailing list