[Dovecot] Replacing real inbox by virtual inbox
François-Xavier Payet
fx.payet at tfdn.org
Mon Jun 28 16:38:22 EEST 2010
Sorry, I forgot my dovecot -n. Here it is :
# 1.2.11: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-bpo.4-amd64 x86_64 Debian 5.0.5 ext3
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: imaps managesieve
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
mail_privileged_group: mail
mail_location: maildir:/var/vmail/%d/%n/Maildir
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugins(default): virtual
mail_plugins(imap): virtual
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
namespace:
type: private
inbox: yes
list: yes
subscriptions: yes
namespace:
type: private
separator: .
prefix: virtual.
location: virtual:/var/vmail/%d/%n/Maildir/virtual
list: yes
subscriptions: yes
lda:
log_path: /var/vmail/dovecot-deliver.log
auth_socket_path: /var/run/dovecot/auth-master
postmaster_address: foux at da-foux-server.tfdn.org
mail_plugins: sieve virtual
auth default:
mechanisms: plain login
passdb:
driver: sql
args: /etc/dovecot/dovecot-sql.conf
userdb:
driver: passwd
userdb:
driver: static
args: uid=5000 gid=5000 home=/var/vmail/%d/%n allow_all_users=yes
socket:
type: listen
client:
path: /var/spool/postfix/private/auth
mode: 432
master:
path: /var/run/dovecot/auth-master
mode: 384
user: vmail
plugin:
sieve: /var/vmail/%d/%n/sieve
sieve_dir: /var/vmail/%d/%n/.sieve
--
François-Xavier Payet
fx.payet at tfdn.org
Jabber : fx.payet at tfdn.org
On Mon, 28 Jun 2010 15:30:07 +0200, François-Xavier Payet wrote:
Hello,
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?
* will I be able to access my real INBOX, for example using a virtual
folder reliyng on INBOX
* and, how to do it.
Here's my problem, if I look to the wiki page [2], I don't really
understand what the _NAMESPACE_1_INBOX_ and the _NAMESPACE_2_INBOX_ stands
for. 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.
Thanks for your help,
--
François-Xavier Payet
fx.payet at tfdn.org
Jabber : fx.payet at tfdn.org
Links:
------
[2] http://wiki.dovecot.org/Plugins/Virtual
More information about the dovecot
mailing list