As im using exim on my system with mysql support i normaly compile it with it.
the exim ebuild file handles the activation of the Different lookup methods a
little bit problematic because it uses a simple sed to replace just the
LOOKUP_INCLUDE definition and the LOOKUP_LIBS definition completly with the
special db driver. But when its replaced eg by the ldap lookup method, i cant be
replaced too with the mysql lookup. But what if u want both. The second problem
was that in the mysql part the LOOKUP_INCLUDE part was missing, but it is
needed because it else cant find the HEADERS, and in the LOOKUP_LIBS definition
there was also included the -lldap which realy has nothing to do in the mysql
definition. ( i had to remoce it manualy)
Hope this could help make it more bugfree ;)
exim-4.04-r2 should be available on rsync servers within 24 hours.
USE variables supported now - mta-mysql, mta-pgsql, mta-tls
Please install and let me know if this gets you the setup you need.
It seems to work now ;) Great job, the ebuild changes look good ;) (this parts
are much better then before)