Hi all, I'm at the stage of planning our new mail system and am evaluating dovecot for it. For large mailstore setups, it makes sense to split maildirs across many directories. I see that setting default_mail_env to something like maildir:/var/imap/domain/%1d/%d/%1u/user/%u/ would create almost identical on-disk layout as multidomain cyrus setup. Now, as dovecot does not have its own mda or lmtp daemon, how does one configure mta (eg. postfix) to deliver mail in such maildirs? Related question ... any cyrus to dovecot migration tales? :) -- Jure Pe?ar
On 2.6.2004, at 23:13, Jure Pecar wrote:> For large mailstore setups, it makes sense to split maildirs across > many > directories. I see that setting default_mail_env to something like > maildir:/var/imap/domain/%1d/%d/%1u/user/%u/ would create almost > identical > on-disk layout as multidomain cyrus setup. Now, as dovecot does not > have its > own mda or lmtp daemon, how does one configure mta (eg. postfix) to > deliver > mail in such maildirs?Hmm. No idea. Dovecot LDA is probably implemented some day in this summer, but for 1.0-test versions which aren't yet stable.> Related question ... any cyrus to dovecot migration tales? :)There's a tool for it, cyrus2courier, which also supports Dovecot. I last checked it at v1.1 which is mirrored at http://dovecot.org/tools/. It's current version seems to be 1.3, hopefully it's still Dovecot-compatible. -------------- 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/20040603/05709134/attachment-0001.bin>
On Wed, 2 Jun 2004, Jure Pecar wrote:> For large mailstore setups, it makes sense to split maildirs across many > directories. I see that setting default_mail_env to something like > maildir:/var/imap/domain/%1d/%d/%1u/user/%u/ would create almost identical > on-disk layout as multidomain cyrus setup. Now, as dovecot does not have its > own mda or lmtp daemon, how does one configure mta (eg. postfix) to deliver > mail in such maildirs?With Postfix, it's pretty straightforward; you have several options, depending on how you actually want to do the deliveries. Basically, you'll most likely want to use the virtual(8) delivery agent, and supply it with a mailbox map that returns the full mailbox path (be it mbox or maildir). This can be done with just about any of the available map types; I'll try to provide a more concrete example if you provide more information on exactly how you want the deliveries done, and what (if any) other components are involved (SQL database of users, etc).. -Rob
On Thu, Jun 03, 2004 at 01:35:29AM +0300, Timo Sirainen wrote:> There's a tool for it, cyrus2courier, which also supports Dovecot. I > last checked it at v1.1 which is mirrored at http://dovecot.org/tools/. > It's current version seems to be 1.3, hopefully it's still > Dovecot-compatible.It is, I have used it 1 months ago to kill our last cyrus-imap :) best regards/Mit freundlichen Gr??en Jens Gutzeit