• removal of Berkeley DB

    From Marco Moock@mm+usenet-es@dorfdsl.de to comp.mail.sendmail on Fri Oct 3 18:00:35 2025
    From Newsgroup: comp.mail.sendmail

    Hello!

    Sendmail uses db5.3 databases for aliases, accessdb, virtuser etc.

    Debian wants to remove that as Oracle changed the license.

    Are there already good alternatives for it?
    --
    kind regards
    Marco

    Send spam to abfall1759506091@stinkedores.dorfdsl.de

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Claus =?iso-8859-1?Q?A=DFmann?=@INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org to comp.mail.sendmail on Fri Oct 3 12:21:11 2025
    From Newsgroup: comp.mail.sendmail

    Marco Moock wrote:

    Sendmail uses db5.3 databases for aliases, accessdb, virtuser etc.

    sendmail can (mostly) use whatever the OS provides.

    Debian wants to remove that as Oracle changed the license.

    Older BDB versions are still available and work fine, right?

    Are there already good alternatives for it?

    8.16.1/8.16.1 2020/07/05
    ....
    Add CDB as map type. Note: CDB is a "Constant DataBase", i.e.,
    no changes can be made after it is created, hence it
    does not work with vacation(1) nor editmap(8) (except
    for query mode).
    --
    Note: please read the netiquette before posting. I will almost never
    reply to top-postings which include a full copy of the previous
    article(s) at the end because it's annoying, shows that the poster
    is too lazy to trim his article, and it's wasting the time of all readers.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Marco Moock@mm+usenet-es@dorfdsl.de to comp.mail.sendmail on Fri Oct 3 23:32:21 2025
    From Newsgroup: comp.mail.sendmail

    On 03.10.2025 12:21 Claus A|fmann <INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org>
    wrote:
    Marco Moock wrote:

    Sendmail uses db5.3 databases for aliases, accessdb, virtuser etc.

    sendmail can (mostly) use whatever the OS provides.
    How can I use that?
    Debian wants to remove that as Oracle changed the license.

    Older BDB versions are still available and work fine, right?
    No, some compilation and security issues exist(ed) in Debian and
    removal is considered.
    Are there already good alternatives for it?

    8.16.1/8.16.1 2020/07/05
    ....
    Add CDB as map type. Note: CDB is a "Constant DataBase", i.e.,
    no changes can be made after it is created, hence it
    does not work with vacation(1) nor editmap(8) (except
    for query mode).
    How can that be used?
    --
    kind regards
    Marco
    Send spam to abfall1759486871@stinkedores.dorfdsl.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Claus =?iso-8859-1?Q?A=DFmann?=@INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org to comp.mail.sendmail on Sat Oct 4 01:31:06 2025
    From Newsgroup: comp.mail.sendmail

    Marco Moock wrote:

    How can I use that?

    Have you read the fine documentation?

    +----------------------+
    | DATABASE DEFINITIONS |
    +----------------------+

    .... read on ...
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Marco Moock@mm+solani@dorfdsl.de to comp.mail.sendmail on Sun Oct 26 10:25:07 2025
    From Newsgroup: comp.mail.sendmail

    Am 03.10.2025 um 12:21:11 Uhr schrieb Claus A|fmann:
    8.16.1/8.16.1 2020/07/05
    ....
    Add CDB as map type. Note: CDB is a "Constant DataBase", i.e.,
    no changes can be made after it is created, hence it
    does not work with vacation(1) nor editmap(8) (except
    for query mode).
    The Debian maintainer has now enabled CDB support (-DCDB=2) altogether
    with NEWDB=5.3, but cdb doesn't show up in -d0.13 and the cdb stuff is
    not available:
    map access: class cdb not available
    Kaccess cdb -T<TMPF> /etc/mail/access
    Is that way of compilation supported?
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Claus =?iso-8859-1?Q?A=DFmann?=@INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org to comp.mail.sendmail on Sun Oct 26 14:28:39 2025
    From Newsgroup: comp.mail.sendmail

    Marco Moock wrote:

    The Debian maintainer has now enabled CDB support (-DCDB=2) altogether
    with NEWDB=5.3, but cdb doesn't show up in -d0.13 and the cdb stuff is
    not available:

    What exactly are the compile time options?

    Maybe you can try it yourself? It's pretty trivial to compile
    sendmail.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Marco Moock@mm@dorfdsl.de to comp.mail.sendmail on Sat Nov 1 12:42:41 2025
    From Newsgroup: comp.mail.sendmail

    On 26.10.2025 14:28 Uhr Claus A|fmann wrote:
    Marco Moock wrote:

    The Debian maintainer has now enabled CDB support (-DCDB=2)
    altogether with NEWDB=5.3, but cdb doesn't show up in -d0.13 and
    the cdb stuff is not available:

    What exactly are the compile time options?
    https://salsa.debian.org/debian/sendmail/-/blob/main/debian/configure.ac?ref_type=heads
    Maybe you can try it yourself? It's pretty trivial to compile
    sendmail.
    I tried, but on my machine it fails:
    | ^
    vfscanf.c:249:30: error: assignment to rCyULONGLONG_T (*)(const char *, char **, int)rCO {aka rCylong long unsigned int (*)(const char *, char **, int)rCO} from incompatible pointer type rCyULONGLONG_T (*)(void)rCO {aka rCylong long unsigned int (*)(void)rCO} [-Wincompatible-pointer-types]
    249 | ccfn = (ULONGLONG_T (*)())sm_strtoll;
    | ^
    vfscanf.c:327:30: error: assignment to rCyULONGLONG_T (*)(const char *, char **, int)rCO {aka rCylong long unsigned int (*)(const char *, char **, int)rCO} from incompatible pointer type rCyULONGLONG_T (*)(void)rCO {aka rCylong long unsigned int (*)(void)rCO} [-Wincompatible-pointer-types]
    327 | ccfn = (ULON (ULONGLONG_T (*)()) sm_strtoll; | ^
    I will have to investigate the cause.
    --
    kind regards
    Marco
    Send spam to 1761485319muell@stinkedores.dorfdsl.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Anthony Howe@achowe@snert.com to comp.mail.sendmail on Sat Nov 1 13:27:19 2025
    From Newsgroup: comp.mail.sendmail

    On 2025-10-03 12:21, Claus A|fmann wrote:
    Add CDB as map type. Note: CDB is a "Constant DataBase", i.e.,
    no changes can be made after it is created, hence it
    does not work with vacation(1) nor editmap(8) (except
    for query mode).

    Any consideration of SQLite as a key-value store? Always wondered why support was never added for this?
    --
    Anthony C Howe
    achowe@snert.com BarricadeMX & Milters http://nanozen.snert.com/ https://github.com/SirWumpus
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Claus =?iso-8859-1?Q?A=DFmann?=@INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org to comp.mail.sendmail on Sat Nov 1 14:23:38 2025
    From Newsgroup: comp.mail.sendmail

    Anthony Howe wrote:

    Any consideration of SQLite as a key-value store? Always wondered why support
    was never added for this?

    Because nobody wrote a patch and is willing to support it?
    That's the way PH_MAP made it into the sendmail code.

    Alternatively: maybe it's simpler to write a "wrapper"
    for your favorite DB using the socketmap interface?
    Then there's no need to add and maintain code in sendmail,
    just use a generic interface.
    --
    Note: please read the netiquette before posting. I will almost never
    reply to top-postings which include a full copy of the previous
    article(s) at the end because it's annoying, shows that the poster
    is too lazy to trim his article, and it's wasting the time of all readers.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Claus =?iso-8859-1?Q?A=DFmann?=@INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org to comp.mail.sendmail on Sat Nov 1 14:28:37 2025
    From Newsgroup: comp.mail.sendmail

    Marco Moock wrote:

    https://salsa.debian.org/debian/sendmail/-/blob/main/debian/configure.ac?ref_type=heads

    Doesn't load with w3m.

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Marco Moock@mm@dorfdsl.de to comp.mail.sendmail on Sun Nov 2 09:57:28 2025
    From Newsgroup: comp.mail.sendmail

    On 01.11.2025 14:28 Uhr Claus A|fmann wrote:
    Marco Moock wrote:

    https://salsa.debian.org/debian/sendmail/-/blob/main/debian/configure.ac?ref_type=heads


    Doesn't load with w3m.
    I've now copied that to my server: http://dorfdsl.de/configure.ac
    You can also retrieve the debian sendmail repo via git
    git clone https://salsa.debian.org/debian/sendmail.git
    --
    kind regards
    Marco
    Send spam to 1762003717muell@stinkedores.dorfdsl.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Claus =?iso-8859-1?Q?A=DFmann?=@INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org to comp.mail.sendmail on Sun Nov 2 05:13:19 2025
    From Newsgroup: comp.mail.sendmail

    Marco Moock wrote:

    I've now copied that to my server: http://dorfdsl.de/configure.ac

    Nice, but this is not the site.*.m4 file which is used when compiling
    sendmail.

    It might be something that generate such files but it is useless
    to determine what is going on during the compilation.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Marco Moock@mm@dorfdsl.de to comp.mail.sendmail on Sun Nov 2 11:50:02 2025
    From Newsgroup: comp.mail.sendmail

    On 02.11.2025 05:13 Uhr Claus A|fmann wrote:
    Marco Moock wrote:

    I've now copied that to my server: http://dorfdsl.de/configure.ac

    Nice, but this is not the site.*.m4 file which is used when compiling sendmail.

    It might be something that generate such files but it is useless
    to determine what is going on during the compilation.
    I've now tarballed the entire folder:
    http://dorfdsl.de/sendmail.tar
    --
    kind regards
    Marco
    Send spam to 1762056799muell@stinkedores.dorfdsl.de
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Claus =?iso-8859-1?Q?A=DFmann?=@INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org to comp.mail.sendmail on Sun Nov 2 12:40:27 2025
    From Newsgroup: comp.mail.sendmail

    Marco Moock wrote:
    On 02.11.2025 05:13 Uhr Claus A|fmann wrote:

    Nice, but this is not the site.*.m4 file which is used when compiling sendmail.

    http://dorfdsl.de/sendmail.tar

    Still no site.*.m4 file in devtoosl/Site/
    hence no CDB.

    Maybe you should take this up with the people at Debian?
    They seem to have a different way to build sendmail / select
    compile time options.
    --- Synchronet 3.21a-Linux NewsLink 1.2