Hi [2024-09-12 19:39] Aly Dharshi <aly.dhar...@edmonton.ca> > I wanted to find out whether table-ldap is Linux compatible. If so what is > the correct way to install and use it. Is it a patch or is it something > that can be compiled as a standalone item.
Yes Linux is suported. I asume you need this for the same system as in your other mail. So you need the table implementation from the extras repo[0]. Also you need to port the commit c64f1d3493325a231037f42f53b1d655f6dcb967 from the table-ldap repo[1]. To build and install run: $ ./bootstrap $ ./configure --prefix $prefix --with-table-ldap $ make # make install The prefix must be the same as the prefix used to install opensmtpd. This builds the table-ldap binary and installes it in $prefix/libexec/smtpd/. > Details seem slightly scarce on this even on the GitHub repo. If there docs > somewhere that I should be reading kindly point me there and I can start > reading that. Sadly there is currently no doku for this, but it's quite easy: For an external table (i.e. "table name ldap:/path/to/config/file") smtpd looks in $prefix/libexec/smtpd for a binary table-$backendname (i.e table-ldap). This binary is executed with the config file as first argument. Philipp [0] https://github.com/OpenSMTPD/OpenSMTPD-extras [1] https://github.com/OpenSMTPD/table-ldap > > Thanks and Cheers, > > ASD. > > --- > > [image: Edmonton-signature-RGB.jpg] > > Aly Dharshi B.Sc., RHCE > > Communications Design Specialist > > ETS Technical Services > > CITY OPERATIONS | TRANSIT > > > Meeting Booking Link https://calendar.app.google/eTj5cU9rJFYUTqNM6 > > > 780-619-1585 MOBILE > > > > City of Edmonton > > DL MacDonald Transit Yards > > ROW Building > > 13304 50A Street > > Edmonton AB T5A 4P6 > > All information contained in this email post is proprietary to the City of > Edmonton, confidential and intended only for the addressed recipient. If > you have received this post in error, please disregard the contents, inform > the sender of the misdirection, and remove it from your system. The > copying, dissemination or distribution of this email, if misdirected, is > strictly prohibited. > > -- > *The contents of this message and any attachment(s) are confidential, > proprietary to the City of Edmonton, and are intended only for the > addressed recipient. If you have received this in error, please disregard > the contents, inform the sender of the misdirection, and remove it from > your system. The copying, dissemination, or distribution of this message, > if misdirected, is strictly prohibited.*