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.
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
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 Thursday 03 of June 2004 20:41, Rob Foehl wrote:
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)..
Thanks, i'll take a closer look at vda. It's a part of postfix i've neglected all this time...
I guess there is no way yet to use similiar strings as dovecot takes for mail_env, so this would cost me one additional sql lookup per mail delivery. I guess i can live with that ...
--
Jure Pečar
On Fri, Jun 04, 2004 at 12:30:14AM +0200, Jure Pecar wrote:
Thanks, i'll take a closer look at vda. It's a part of postfix i've neglected all this time...
I guess there is no way yet to use similiar strings as dovecot takes for mail_env, so this would cost me one additional sql lookup per mail delivery. I guess i can live with that ...
Does it really need an additional lookup? I use Exim rather than Postfix, but since you need a database lookup anyway to determine whether the E-mail address exists or not, you can at the same time fetch whatever additional fields you need.
Regards,
Brian.
participants (5)
-
Brian Candler
-
Jens Gutzeit
-
Jure Pecar
-
Rob Foehl
-
Timo Sirainen