[Bug 265236] native sendmail auth fails with cyrus-sasl

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Jul 2022 14:39:29 UTC

            Bug ID: 265236
           Summary: native sendmail auth fails with cyrus-sasl
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: dym@afalina.od.ua

Created attachment 235273
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235273&action=edit
fix native sendmail auth with cyrus-sasl

The problem appears after a kernel/world update on FreeBSD 12.3, 13.0 at least.
Authentication does not work when using the regular sendmail and cyrus-sasl.

Additional lines in make.conf:
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2

The problem itself has been known for a long time, so has the solution:

solves the problem for sendmail ports.
For basic sendmail, only the line numbers are changed to make corrections.

It's the same here:
But for some unknown reason in the bug description say only 12.3.
Dirk Meyer confirms the problem in several versions.

Attached is a patch containing a fix for version 13.0
For the other versions, I don't think it's a problem to make patches.

I would like to make a fix for the sources.

You are receiving this mail because:
You are the assignee for the bug.