-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is is possible to specify multiple maildir location in mail_location? (default_mail_env in my case since I'm using version 1.0.rc15/debian etch). 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. Postfix is taking care of the 1st (delivery in maildir format in spool location), and dovecot should (I want to) be able to read messages from both locations. Ideally, is something like: default_mail_env = maildir:/var/spool/mail:/home/%u/Maildir possible? thx -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFI9MEcgUWLzP4xLCERAoLKAJ4ySsAfIKDqIenmww1sTApcjikM3wCeIBA1 vO0glRfNXUtajKMaPYHM8L4=eL+3 -----END PGP SIGNATURE-----
On Oct 14, 2008, at 6:56 PM, 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 If you can't, just upgrade. Or I'd suggest upgrading in any case. There are v1.1 packages available in backports.org and mbox-snarf plugin comes with it. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20081016/a625cfb7/attachment-0002.bin>
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Timo Sirainen wrote:> On Oct 14, 2008, at 6:56 PM, 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.cActually 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.> > If you can't, just upgrade. Or I'd suggest upgrading in any case. There > are v1.1 packages available in backports.org and mbox-snarf plugin comes > with it. >-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFI9zEvgUWLzP4xLCERAruaAJ91VTTEojJl4YrIIa7mnJxYOhZOswCeMqnZ DeE7fIW4BfTzr/EfFby5CJQ=hg/s -----END PGP SIGNATURE-----