[Dovecot] Multiple maildirs

Timo Sirainen tss at iki.fi
Thu Oct 16 15:23:18 EEST 2008


On Thu, 2008-10-16 at 15:18 +0300, Vassilis Vatikiotis wrote:
> >> What I want to achieve is receive mail in /var/spool/mail, which is
> >> going to contain 1 Maildir per user, and have /home/%u/Maildir/ to store
> >> (move) messages from spool location.
> > 
> > So Dovecot should automatically move messages from one maildir to
> > another when it sees messages there? You could probably do that with
> > mbox-snarf plugin (it should work with maildir too). See if you can get
> > it compiled with 1.0.rc15:
> > http://dovecot.org/patches/1.0/mbox-snarf-plugin.c
> Actually no, I just want dovecot to be able to access both maildirs of a
> user, at the same time. So, in my MUA, I'd be able to see 2 locations
> (folders), 1 at my home directory and 1 under /var/spool.
> 
> The reason I need to use /var/spool is that this folder is monitored
> very closely so it make sense to have postfix storing incoming messages
> there. End users can move msgs, from the spool locatioon, to their
> personal maildirs as they see fit.

Can they be different mailboxes then? So /var/spool/mail/%u is INBOX and
the other mailboxes are in ~/Maildir? That'd be easy:

mail_location = maildir:~/Maildir:INBOX=/var/spool/mail/%u

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081016/ea3e7a0d/attachment.bin 


More information about the dovecot mailing list