"250-AUTH LOGIN PLAIN" missing when connecting to the server after upgrading from sendmail-8.16.1-r1 to sendmail-8.17.1-r2. Getting "AUTH warning: no mechanisms" in the logs. Did an emerge world and rebooted but no change. Masked 8.17 which downgraded me to sendmail-8.16.1-r2. During a previous update, cyrus-sasl-2.1.27-r6 had been upgraded to cyrus-sasl-2.1.28-r2. After downgrading sendmail, I re-emerged it and sasl and that fixed the issue. This looks a lot like FreeBSD Bug 263287. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263287 # equery u sendmail [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for mail-mta/sendmail-8.16.1-r2: U I - - ipv6 : Add support for IP version 6 - - ldap : Add LDAP support (Lightweight Directory Access Protocol) + + mbox : Add support for mbox (/var/spool/mail) style mail spools - - nis : Support for NIS/YP services + + sasl : Add support for the Simple Authentication and Security Layer + + sockets : Add support for tcp/ip sockets + + ssl : Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security) - - tcpd : Add support for TCP wrappers # equery u cyrus-sasl [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for dev-libs/cyrus-sasl-2.1.28-r2: U I - - abi_x86_32 : 32-bit (x86) libraries - - authdaemond : Add Courier-IMAP authdaemond unix socket support (net-mail/courier-imap, mail-mta/courier) + + berkdb : Add support for sys-libs/db (Berkeley DB for MySQL) + + gdbm : Add support for sys-libs/gdbm (GNU database libraries) - - kerberos : Add kerberos support - - ldapdb : Enable ldapdb plugin - - mysql : Add mySQL Database support - - openldap : Add ldap support for saslauthd + + pam : Add support for PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip - - postgres : Add support for the postgresql database - - sample : Enable sample client and server - - sqlite : Add support for sqlite - embedded sql database - - srp : Enable SRP authentication + + ssl : Add support for SSL/TLS connections (Secure Socket Layer / Transport Layer Security) - - static-libs : Build static versions of dynamic libraries as well - - urandom : Use /dev/urandom instead of /dev/random # emerge --info Portage 3.0.30 (python 3.9.13-final-0, default/linux/amd64/17.1, gcc-11.3.0, glibc-2.34-r13, 5.15.41-gentoo x86_64) ================================================================= System uname: Linux-5.15.41-gentoo-x86_64-Dual-Core_AMD_Opteron-tm-_Processor_2218-with-glibc2.34 KiB Mem: 4100740 total, 229784 free KiB Swap: 16777212 total, 16169568 free Timestamp of repository gentoo: Sun, 17 Jul 2022 10:00:01 +0000 Head commit of repository gentoo: 92ce1e0cf1298b1096f319b63ea5fd1a5f189190 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-lang/perl: 5.34.1-r3::gentoo dev-lang/python: 2.7.18_p15::gentoo, 3.9.13::gentoo, 3.10.5::gentoo dev-util/cmake: 3.22.4::gentoo dev-util/meson: 0.61.4-r2::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/gcc: 11.3.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r13::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS=" http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ https://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.cs.utah.edu/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" SHELL="/bin/bash" USE="acl amd64 apache2 berkdb bzip2 cli crypt dri gdbm iconv libglvnd libtirpc mbox multilib ncurses nls nptl nptlonly openmp pam pcre readline seccomp split-usr ssl unicode xattr xinetd zlib" ABI_X86="64" ADA_TARGET="gnat_2020" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Could you try https://bz-attachments.freebsd.org/attachment.cgi?id=233353 in /etc/portage/patches?
Sendmail and smtp auth can be fragile and I'm afraid to break my production instance again as I don't have time to troubleshoot it right now. I can work on it this weekend or try to set it up on one of my home servers. I know that's not very helpful from the bug submitter but I'm tied up with some family issues right now unfortunately. I wanted to go ahead and submit the bug report before too much time passed.
No worries at all, I very much appreciate the report & help so far.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a439566d73af0c6907c967b98f5087b008ea35f1 commit a439566d73af0c6907c967b98f5087b008ea35f1 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-29 03:03:55 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-29 03:03:55 +0000 mail-mta/sendmail: apply cyrus-sasl fix Closes: https://bugs.gentoo.org/859172 Signed-off-by: Sam James <sam@gentoo.org> .../files/sendmail-8.17.1-cyrus-sasl-auth.patch | 26 +++ mail-mta/sendmail/sendmail-8.17.1-r3.ebuild | 208 +++++++++++++++++++++ 2 files changed, 234 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cf871b83a3e5cd324d94420999fb6aa38179b9e commit 3cf871b83a3e5cd324d94420999fb6aa38179b9e Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-31 08:25:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-31 08:25:24 +0000 mail-filter/libmilter: add 1.0.2_p3 Closes: https://bugs.gentoo.org/862483 Bug: https://bugs.gentoo.org/859172 Signed-off-by: Sam James <sam@gentoo.org> mail-filter/libmilter/Manifest | 1 + mail-filter/libmilter/libmilter-1.0.2_p3.ebuild | 130 ++++++++++++++++++++++++ 2 files changed, 131 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00e1964a4aab5b042c5778551e9954c0e6e6ea62 commit 00e1964a4aab5b042c5778551e9954c0e6e6ea62 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-31 08:04:44 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-31 08:25:23 +0000 mail-mta/sendmail: add 8.17.1.9 Closes: https://bugs.gentoo.org/862483 Bug: https://bugs.gentoo.org/859172 Signed-off-by: Sam James <sam@gentoo.org> mail-mta/sendmail/Manifest | 1 + mail-mta/sendmail/sendmail-8.17.1.9.ebuild | 217 +++++++++++++++++++++++++++++ 2 files changed, 218 insertions(+)