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.
*** This bug has been marked as a duplicate of bug 262935 ***
Thank you for the report, I have applied the patch from PR262935 to main and it will be merged to the other branches shortly.