On Sat, 24 Jan 2004, Alan W. Rateliff, II wrote:
It's trivial to use that as your primary user database, make a script which would import that to MySQL for QPopper address-to-user conversion, and /etc/passwd for your local Unix user accounts. If you use *dbm databases instead of hashes, it also should not be difficult to make a *dbm table lookup using TLP's MySQL patch as a reference.
he can do that, he also has to cross-reference the local usernames with /etc/passwd to pull in the passwords and uids/gids.
however, what may be trivial for us to write, may not be trivial for him :-)
It's not a big deal to syncronize the password file. Using mysql with sendmail is a bear though, due to all of the sendmail maps we use and problems with maintaining the patched sendmail. It's more efficient to have all those hash map lookups happen in memory and use the standard sendmail build process to keep up to date on security issues with sendmail.
Thanks everybody for the suggestions.
Ken Anderson Pacific.Net
--Tony .-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-. Anthony J. Biacco Network Administrator/Engineer [EMAIL PROTECTED] http://www.asteroid-b612.org
"You find magic from your god, and I find magic everywhere" .-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-._.-.