On Jul 24, 2009, at 9:45 AM, Jay Kusler <kus...@nscl.msu.edu> wrote:

We currently have a postfix MX front-end that uses MailScanner, clamav, and spamassassin to preprocess incoming email. We use LDAP lookups to determine valid recipients. Email that makes it through all of that gets moved to a Cyrus imap mailstore using LMTP
(mailbox_transport = lmtp:cyrusimap.mydomain.com)

We want to replace the Cyrus backend with Exchange, but keep postfix as the internet-facing email gateway. Ideally, we would like be able to move one subset of users (20-30) at a time rather than all at once (350 users). It seems to me that we should be able to use the LDAP "mailHost" attribute set to either the Cyrus host or the Exchange host and have postfix determine what to do based on that attribute. Does anyone have any suggestions on how to do this?

Use transport_maps to override the Cyrus transport for that subset of users and direct them to the Exhange transport. You should be able to construct an LDAP query that returns a desired transport given a username or email address.. See ldap_table(5).

Reply via email to