Mark Delany <[EMAIL PROTECTED]> wrote:
> >
> > But why does qmail have to be patched to use LDAP? Why not use a script
> > which extracts user information from the LDAP database, puts it in passwd
> > format, and feeds it to qmail-pw2u? Then cron it every hour or something.
> > Voila,
>
> Better yet, why not make a replacement qmail-getpw? That's how I built an
> LDAP-aware qmail a couple of years ago.
But if the LDAP query fails in qmail-getpw-ldap, you have to either defer or
bounce. With qmail-users built periodically from the server, the information
is always available -- and if the build process fails, you leave the old
qmail-users db in place, so deliveries continue normally.
Charles
--
-----------------------------------------------------------------------
Charles Cazabon <[EMAIL PROTECTED]>
GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
-----------------------------------------------------------------------