• sendmail snapshot 8.18.1.15 is available for testing

    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 Wed Oct 29 12:36:37 2025
    From Newsgroup: comp.mail.sendmail

    sendmail snapshot 8.18.1.15 is available for testing. This version
    contains two FFRs to handle the infamous restrictions not allowing
    recipients with different domains in one transaction even though
    they have the same MXs.

    _FFR_SAMEDOMAIN: FEATURE(`same_domain_only') enables automatic
    handling of known error messages (the default messages can be
    overridden by specifying arguments): if one of them is received
    for a recipient then sendmail will try a new transaction afterwards
    which only has recipients with the same domain.
    Note: this is experimental code - please turn on the FFR,
    enable the feature, observe the behaviour, and report
    any problems (or successful operation).

    _FFR_MF_ONEDOMAIN: mailer flag O: send only mails with recipients
    which have the same domain in one transaction.


    SHA256(sendmail.8.18.1.15.tar.gz)= 5dc6b67adfd04d564b4fe631d666d8237f12291f91b18efcc8b86619fd38f506
    SHA256(sendmail.8.18.1.15.tar.gz.sig)= 35f2bfcc158e9cf3b2fd17dc02507ec68fb8c632476403cb70c6c8c0d4762074

    Available at:
    https://ftp.sendmail.org/snapshots/sendmail.8.18.1.15.tar.gz https://ftp.sendmail.org/snapshots/sendmail.8.18.1.15.tar.gz.sig
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From HQuest@noreply@pugleaf.invalid to comp.mail.sendmail on Thu Nov 13 15:27:41 2025
    From Newsgroup: comp.mail.sendmail

    Making in /tmp/sendmail-8.18.1.15/obj.Linux.6.12.49.x86_64/sendmail
    make[1]: Entering directory '/tmp/sendmail-8.18.1.15/obj.Linux.6.12.49.x86_64/sendmail'
    cc -O2 -I. -I../../include -DNEWDB -DNETINET6 -DIPV6_FULL -DNEWDB -DSTARTTLS -DDANE -DSASL=2 -DTCPWRAPPERS -DNIS -DMAP_REGEX -DSOCKETMAP -DTLS_EC -DUSE_EAI -DDNSSEC_TEST -D_FFR_TLS_ALTNAMES -D_FFR_MTA_STS -DOPENSSL_NO_ENGINE -DHAVE_ERR_get_error_all -DMILTER -c -o conf.o conf.c
    conf.c:4078:20: error: conflicting types for rCyhosts_ctlrCO; have rCyint(void)rCO
    4078 | extern int hosts_ctl();
    | ^~~~~~~~~
    In file included from conf.c:4062:
    /usr/include/tcpd.h:128:12: note: previous declaration of rCyhosts_ctlrCO with type rCyint(char *, char *, char *, char *)rCO
    128 | extern int hosts_ctl(char *daemon, char *client_name, char *client_addr,
    | ^~~~~~~~~
    conf.c:4116:14: error: too many arguments to function rCyhosts_ctlrCO; expected 0, have 4
    4116 | if (!hosts_ctl("sendmail", host, addr, STRING_UNKNOWN))
    | ^~~~~~~~~ ~~~~~~~~~~
    conf.c:4078:20: note: declared here
    4078 | extern int hosts_ctl();
    | ^~~~~~~~~
    make[1]: *** [<builtin>: conf.o] Error 1
    make[1]: Leaving directory '/tmp/sendmail-8.18.1.15/obj.Linux.6.12.49.x86_64/sendmail'
    make: *** [Makefile:11: all] Error 2
    # gcc -v
    Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/15.2.0/specs COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-slackware-linux/15.2.0/lto-wrapper Target: x86_64-slackware-linux
    Configured with: ../configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,d,fortran,go,lto,m2,objc,obj-c++,rust,cobol --enable-threads=posix --enable-checking=release --with-system-zlib --enable-libstdcxx-dual-abi --with-default-libstdcxx-abi=new --disable-libstdcxx-pch --disable-libunwind-exceptions --enable-__cxa_atexit --disable-libssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-plugin --enable-lto --disable-install-libiberty --disable-werror --with-gnu-ld --with-isl --verbose --with-arch-directory=amd64 --disable-gtktest --enable-clocale=gnu --with-arch=x86-64 --enable-multilib --target=x86_64-slackware-linux --build=x86_64-slackware-linux --host=x86_64-slackware-linux
    Thread model: posix
    Supported LTO compression algorithms: zlib zstd
    gcc version 15.2.0 (GCC)
    # head -3 /usr/doc/tcp_wrappers_7.6/README
    @(#) README 1.30 97/03/21 19:27:21

    This is the 7.6 version of the TCP/IP daemon wrapper package.
    --- 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 Thu Nov 13 11:47:25 2025
    From Newsgroup: comp.mail.sendmail

    HQuest wrote:

    -DSTARTTLS -DDANE -DSASL=2 -DTCPWRAPPERS -DNIS -DMAP_REGEX -DSOCKETMAP

    conf.c:4078:20: error: conflicting types for `hosts_ctl'; have
    `int(void)'

    /usr/include/tcpd.h:128:12: note: previous declaration of
    `hosts_ctl' with type `int(char *, char *, char *, char *)'

    Do you actually use/need TCPWRAPPERS?
    If so, disable the line
    int hosts_ctl();
    in conf.c for now until someone comes up with a better solution.
    --- 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 Tue Nov 18 02:50:48 2025
    From Newsgroup: comp.mail.sendmail

    Please try this patch:

    diff --git a/sendmail/conf.c b/sendmail/conf.c
    index be989ae16..13118f32b 100644
    --- a/sendmail/conf.c
    +++ b/sendmail/conf.c
    @@ -4114,7 +4114,9 @@ validate_connection(sap, hostname, e)
    #if TCPWRAPPERS
    char *host;
    char *addr;
    +# ifndef __STDC__
    extern int hosts_ctl();
    +# endif
    #endif /* TCPWRAPPERS */

    if (tTd(48, 3))

    --- 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 Tue Nov 18 13:13:41 2025
    From Newsgroup: comp.mail.sendmail

    Another patch for testing (anyone using gcc 15? please give
    it a try and provide feedback)

    diff --git a/sendmail/conf.c b/sendmail/conf.c
    @@ -4114,7 +4114,7 @@ validate_connection(sap, hostname, e)
    #if TCPWRAPPERS
    char *host;
    char *addr;
    - extern int hosts_ctl();
    + extern int hosts_ctl __P((char *, char *, char *, char *));
    #endif /* TCPWRAPPERS */

    if (tTd(48, 3))
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From HQuest@noreply@pugleaf.net.invalid to comp.mail.sendmail on Wed Nov 19 14:13:59 2025
    From Newsgroup: comp.mail.sendmail

    On Tue, 18 Nov 2025 13:13:41 -0500 (EST), Claus iso-8859 wrote:

    Another patch for testing (anyone using gcc 15? please give
    it a try and provide feedback)

    diff --git a/sendmail/conf.c b/sendmail/conf.c
    @@ -4114,7 +4114,7 @@ validate_connection(sap, hostname, e)
    #if TCPWRAPPERS
    char *host;
    char *addr;
    - extern int hosts_ctl();
    + extern int hosts_ctl __P((char *, char *, char *, char *));
    #endif /* TCPWRAPPERS */

    if (tTd(48, 3))

    I do use gcc 15.2. The patch above seems to make the compiler going and produces an initially good binary:
    # sendmail-version
    Version 8.18.1.15
    Compiled with: ALLOW_255 DANE HAVE_SSL_CTX_dane_enable MAX_TLSA_RR=64
    DNSSEC_TEST DNSMAP IPV6_FULL LOG MAP_REGEX MATCHGECOS MILTER
    MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB=4.8
    NIS PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS MTA_HAVE_TLSv1_3
    TCPWRAPPERS TLS_EC TLS_VRFY_PER_CTX USERDB USE_EAI XDEBUG
    OS Defines: ADDRCONFIG_IS_BROKEN HASFCHOWN HASFCHMOD
    HASGETDTABLESIZE HAS_GETHOSTBYNAME2 HASINITGROUPS HASLSTAT
    HASNICE HASRANDOM HASRRESVPORT HASSETREGID HASSETREUID
    HASSETRLIMIT HASSETSID HASSETVBUF HASURANDOMDEV HASSTRERROR
    HASUNAME HASUNSETENV HASWAITPID IDENTPROTO NEEDSGETIPNODE
    REQUIRES_DIR_FSYNC SFS_VFS USE_DOUBLE_FORK USE_SIGLONGJMP Kernel symbols: /boot/vmlinux
    Conf file: /etc/mail/submit.cf (default for MSP)
    Conf file: /etc/mail/sendmail.cf (default for MTA)
    Pid file: /var/run/sendmail.pid (default)
    libsm Defines: SM_CONF_LONGLONG SM_CONF_MEMCHR SM_CONF_MSG SM_CONF_SEM
    SM_CONF_SIGSETJMP SM_CONF_SHM SM_CONF_SSIZE_T SM_CONF_STDBOOL_H
    SM_CONF_STDDEF_H SM_CONF_SYS_CDEFS_H SM_CONF_UID_GID
    DO_NOT_USE_STRCPY SM_HEAP_CHECK SM_OS=sm_os_linux SM_VA_STD
    FFR Defines: _FFR_MTA_STS _FFR_TLS_ALTNAMES _FFR_LOGASIS=1
    _FFR_M_ONLY_IPV4
    OpenSSL: compiled 0x30500040
    OpenSSL: linked 0x30500040

    The patch, however, was applied on a different line (4078 instead of 4117) of the conf.c file. Maybe yours is already a newer snapshot?

    Will keep it going for a few days to see if anything breaks. As always, Danke Claus.
    --- 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 Wed Nov 19 12:03:50 2025
    From Newsgroup: comp.mail.sendmail

    HQuest wrote:

    diff --git a/sendmail/conf.c b/sendmail/conf.c
    - extern int hosts_ctl();
    + extern int hosts_ctl __P((char *, char *, char *, char *));

    I do use gcc 15.2. The patch above seems to make the compiler going and produces an initially good binary:

    Thanks, the patch has been committed.

    The patch, however, was applied on a different line (4078 instead of
    4117) of the conf.c file. Maybe yours is already a newer snapshot?

    The patch is generated from our internal development code
    which can differ from a released snapshot.
    --- Synchronet 3.21a-Linux NewsLink 1.2