• sendmail snapshot 8.17.1.20

    From Claus =?iso-8859-1?Q?A=DFmann?= @21:1/5 to All on Sun Sep 4 03:37:00 2022
    sendmail snapshot 8.17.1.20 is available for testing. If fixes a
    regression for the vacation program when the compile time option
    USE_EAI is enabled and some other problems as described in the
    RELEASE_NOTES:

    8.17.2/8.17.2 202X/XX/XX
    Fix a regression introduced in 8.17.1: aliases file which
    contain continuation lines caused parsing errors.
    Add an FFR (for future release) compile time option _FFR_LOG_STAGE
    to log the protocol stage as stage= for some errors during
    delivery attempts to make troubleshooting simpler. This
    new logging may be enabled in a future release.
    When EAI is enabled, milters also got the arguments of MAIL/RCPT
    commands in argv[0] for xxfi_envfrom()/xxfi_envrcpt()
    callbacks instead of just the mail address.
    Problem reported by Dilyan Palauzo.
    When EAI is enabled, mailq prints UTF-8 addresses as such
    if SMTPUTF8 was used.
    When the compile time option USE_EAI is enabled, vacation could
    fail to respond when it should. Problem reported by
    Alex Hautequest.
    Handle a possible change in an upcoming release of Cyrus-SASL
    (2.1.28) by changing the definition of an internal flag.
    Patch from Dilyan Palauzo.
    Fixed some spelling errors in documentation and comments,
    based on a codespell report by Jens Schleusener
    of fossies.org.
    The result of try_tls is now logged using status= instead
    of reject=.
    CONFIG: The default clt_features ruleset tried to access
    ${server_name} and ${server_addr} which are not set
    when the ruleset is invoked. Only the server name
    is available which is passed as an argument.
    CONFIG: Properly quote host variable to prevent cf build
    breakage when a hostname contains 'dnl'. Problem
    reported by Maxim Shalomikhin of Kaspersky.
    DOC: Document that USAGE is a possible value for {verify}.
    LIBMILTER: The macros for the EOH and EOM callbacks are
    sent in reverse order which means accessing macros
    in the EOM callback got the macro for the EOH
    callback. Store those macros in the expected order
    in libmilter. Note: this does not affect sendmail
    because the macros for both callbacks are the same
    because the message is sent to libmilter after it
    is completely read by sendmail. Fix and problem
    report from David Buergin.
    Portability:
    Make use of IN_LOOPBACK, if defined, to determine if
    using a loopback address. Patch from Mike Karels of
    FreeBSD.
    On Linux use gethostbyname2(3) if glibc 2.19 or newer
    is used to avoid potential problems with IPv6 lookups.
    Patch from Werner Wiethege.
    Add support for Darwin 21.
    New Files:
    devtools/OS/Darwin.21.x
    sendmail/sched.c
    libsm/notify.h


    SHA256 (sendmail.8.17.1.20.tar.gz) = 2659d358516f23785d580198f04af9a3910adf3cbcc366de71d2ab1916826a66
    SHA256 (sendmail.8.17.1.20.tar.gz.sig) = 4474f9ffdc34cc07db5cb51cde17748a5862dfa92f8614f2b99bf17d2fbd1c95

    Available at:
    https://ftp.sendmail.org/snapshots/sendmail.8.17.1.20.tar.gz https://ftp.sendmail.org/snapshots/sendmail.8.17.1.20.tar.gz.sig

    --
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Amitava Dutta@21:1/5 to All on Mon Sep 5 04:12:51 2022
    On Sunday, September 4, 2022 at 3:37:02 AM UTC-4, Claus Aßmann wrote:
    sendmail snapshot 8.17.1.20 is available for testing. If fixes a
    regression for the vacation program when the compile time option
    USE_EAI is enabled and some other problems as described in the RELEASE_NOTES:
    .. .. ..

    SHA256 (sendmail.8.17.1.20.tar.gz) = 2659d358516f23785d580198f04af9a3910adf3cbcc366de71d2ab1916826a66
    SHA256 (sendmail.8.17.1.20.tar.gz.sig) = 4474f9ffdc34cc07db5cb51cde17748a5862dfa92f8614f2b99bf17d2fbd1c95

    Available at:
    https://ftp.sendmail.org/snapshots/sendmail.8.17.1.20.tar.gz https://ftp.sendmail.org/snapshots/sendmail.8.17.1.20.tar.gz.sig

    --
    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.

    Thank you !

    Tried to build on Red Hat 8 with NDBM and got this error

    === BEGIN ERROR ===
    map.c: In function 'ndbm_map_lookup':
    map.c:1962:25: error: 'buf' undeclared (first use in this function); did you mean 'smbuf'?
    if (map_has_chged(map, buf, pfd))
    ^~~
    smbuf
    === END ERROR ===

    it compiles without error the #if and #endif at lines 1927 and 1929 are commented out at the beginning of the function ndbm_map_lookup

    does this mean _FFR_MAP_CHK_FILE must be defined if using NDBM ?

    thank you

    best regards

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Claus =?iso-8859-1?Q?A=DFmann?= @21:1/5 to Amitava Dutta on Mon Sep 5 12:27:41 2022
    Amitava Dutta wrote:

    map.c: In function 'ndbm_map_lookup':
    map.c:1962:25: error: 'buf' undeclared (first use in this function); did you

    Please try this patch:

    diff --git a/sendmail/map.c b/sendmail/map.c
    index 78c8409..2826965 100644
    --- a/sendmail/map.c
    +++ b/sendmail/map.c
    @@ -1926,6 +1926,8 @@ ndbm_map_lookup(map, name, av, statp)
    char keybuf[MAXNAME + 1]; /* EAI:ok */
    # if _FFR_MAP_CHK_FILE
    char buf[MAXPATHLEN];
    +# else
    +# define buf NULL
    # endif

    if (tTd(38, 20))
    @@ -2017,6 +2019,9 @@ lockdbm:
    return map_rewrite(map, name, strlen(name), NULL);
    else
    return map_rewrite(map, val.dptr, val.dsize, av);
    +# if !_FFR_MAP_CHK_FILE
    +# undef buf
    +# endif
    }



    --
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)