Bug 265236 - native sendmail auth fails with cyrus-sasl
Summary: native sendmail auth fails with cyrus-sasl
Status: Closed DUPLICATE of bug 262935
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 13.1-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-15 14:39 UTC by DYM
Modified: 2022-10-26 17:04 UTC (History)
1 user (show)

See Also:


Attachments
fix native sendmail auth with cyrus-sasl (826 bytes, patch)
2022-07-15 14:39 UTC, DYM
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description DYM 2022-07-15 14:39:29 UTC
Created attachment 235273 [details]
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
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
================================================

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263287
solves the problem for sendmail ports.
For basic sendmail, only the line numbers are changed to make corrections.

It's the same here:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262935#c4
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.
Comment 1 Ed Maste freebsd_committer freebsd_triage 2022-10-26 17:04:07 UTC

*** This bug has been marked as a duplicate of bug 262935 ***
Comment 2 Ed Maste freebsd_committer freebsd_triage 2022-10-26 17:04:44 UTC
Thank you for the report, I have applied the patch from PR262935 to main and it will be merged to the other branches shortly.