Am 20.11.2014 um 00:06 schrieb Quanah Gibson-Mount:
--On November 19, 2014 at 11:02:05 PM +0100 [email protected] wrote:
in case of such sites you have *databases* used directly for MTA queries
or generate config files from databases
LDAP is a database. It already contains all of the necessary data to
get the work done. What's missing is the postfix piece to utilize LDAP.
but LDAP is a very limited database missing things like joins, views and
a lot of other things you can easily do with a SQL query - don't blame
the messenger and just setup a wrapper fetching the data from LDAP and
present them in a SQL database for postfix
you need to realize that postfix works agnostic of the backend, hence
what you do in case of SQL is fetch the needed data and present it
similar to a hash lookable table - LDAP can't do this and that's not
postfix's fault
did something similar recently for a inbound mail-gateway by fetching
data from a infinite count of final destination servers each with it's
own mysql configuration and present them on the gateway server including
the transport table with the target machines
that's finally a cronjob running every 5 minutes - such data don't
change every second