I've a wee problem that should be quick to solve, but I can't work out
how. I need to present a list of email addresses (for an AV server to
accept) via LDAP. That list of email addresses is in a few tables in the
postgres database (could be a mailing list, a mailbox or an alias). I've
three SQL statements that given an email address, can check if it's a
valid email address.
As far as I can tell, the only way to present this as LDAP is to generate
the lists of emails, and then make up files that ldapadd knows about.
Needless to say, this has to be re-run frequently, as emails are added &
deleted. Messy, and there is always the chance that mail would be lost in
between the runs of the "update" script.
Is there a good solution to this problem?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!