> I need this postfix server to auth the users to their respective
> mail server using imap/pop authentication
> ...
> postfix will need to query the ldap server first to find out the
> mailserver of domainA.com in order to do pop/imap auth
Postfix is not a POP/IMAP login proxy. Instead, Postfix supports
the use of a shared (replicated) user database that provides
authentication information for POP, IMAP, SMTP, and other servers.
Conceptually:
POP/IMAP SMTP
Server Server
|| ||
Shared user database
With this approach, each server provides an adapter to the shared
database. On the Postfix side, SASL authentication is implemented
with Cyrus SASL or with Dovecot. Both support the shared user
database approach with adapters to external databases, and with
their own internal storage formats.
Wietse