Bug 2140596

Summary: SASL AUTH not working
Product: [Fedora] Fedora Reporter: Harald Hoyer <harald>
Component: sendmailAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 37CC: anon.amish, jskarvad, marek.gresko, olysonek-foss, redhat-bugzilla, tessarek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sendmail-8.17.1-7.fc38 sendmail-8.17.1-7.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-13 22:46:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Harald Hoyer 2022-11-07 10:36:24 UTC
Description of problem:

Using STARTTLS and authentication to send mails does not work.




Version-Release number of selected component (if applicable):

8.17.1-6

How reproducible:

every time

Steps to Reproduce:
1. setup sendmail.mc to use SSL with authentication
2.
3.

Actual results:
No AUTH available:

04924 >>> 220 hoyer.xyz ESMTP Sendmail 8.17.1/8.17.1; Sat, 5 Nov 2022 15:28:21 +0100
04924 <<< EHLO [192.168.178.156]
04924 >>> 250-hoyer.xyz Hello p5b0acefd.dip0.t-ipconnect.de [91.10.206.253], pleased to meet you
04924 >>> 250-ENHANCEDSTATUSCODES
04924 >>> 250-PIPELINING
04924 >>> 250-8BITMIME
04924 >>> 250-SIZE
04924 >>> 250-DSN
04924 >>> 250-STARTTLS
04924 >>> 250-DELIVERBY
04924 >>> 250 HELP
04924 <<< STARTTLS
04924 >>> 220 2.0.0 Ready to start TLS
04924 <<< EHLO [192.168.178.156]


Expected results:


Additional info:

see also:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263287

Solution seems to be:

https://cgit.freebsd.org/ports/commit/?id=0625156b336bacba1e5dc541680af85e97feb0e2

Comment 1 Harald Hoyer 2022-11-07 10:37:38 UTC
Downgrading to F36 version works again:

# rpm -q sendmail cyrus-sasl
sendmail-8.17.1-5.fc36.x86_64
cyrus-sasl-2.1.27-18.fc36.x86_64

Comment 2 Harald Hoyer 2022-11-07 10:38:42 UTC
Complete log after STARTTLS:

[root@hoyer harald]# cat /tmp/test.log 
04924 >>> 220 hoyer.xyz ESMTP Sendmail 8.17.1/8.17.1; Sat, 5 Nov 2022 15:28:21 +0100
04924 <<< EHLO [192.168.178.156]
04924 >>> 250-hoyer.xyz Hello p5b0acefd.dip0.t-ipconnect.de [91.10.206.253], pleased to meet you
04924 >>> 250-ENHANCEDSTATUSCODES
04924 >>> 250-PIPELINING
04924 >>> 250-8BITMIME
04924 >>> 250-SIZE
04924 >>> 250-DSN
04924 >>> 250-STARTTLS
04924 >>> 250-DELIVERBY
04924 >>> 250 HELP
04924 <<< STARTTLS
04924 >>> 220 2.0.0 Ready to start TLS
04924 <<< EHLO [192.168.178.156]
04924 >>> 250-hoyer.xyz Hello p5b0acefd.dip0.t-ipconnect.de [91.10.206.253], pleased to meet you
04924 >>> 250-ENHANCEDSTATUSCODES
04924 >>> 250-PIPELINING
04924 >>> 250-8BITMIME
04924 >>> 250-SIZE
04924 >>> 250-DSN
04924 >>> 250-DELIVERBY
04924 >>> 250 HELP
04924 <<< MAIL FROM:<harald> BODY=8BITMIME SIZE=476
04924 >>> 530 5.7.0 Authentication required
04924 <<< [EOF]

Comment 3 Fedora Update System 2022-11-13 21:30:05 UTC
FEDORA-2022-dd2a34a033 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-dd2a34a033

Comment 4 Fedora Update System 2022-11-13 22:09:12 UTC
FEDORA-2022-36db63d44f has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-36db63d44f

Comment 5 Fedora Update System 2022-11-13 22:46:25 UTC
FEDORA-2022-36db63d44f has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2022-11-14 02:18:34 UTC
FEDORA-2022-dd2a34a033 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-dd2a34a033`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-dd2a34a033

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Harald Hoyer 2022-11-14 10:56:27 UTC
Thanks! Works!

Comment 8 Jaroslav Škarvada 2022-11-21 08:59:28 UTC
*** Bug 2143412 has been marked as a duplicate of this bug. ***

Comment 9 Jaroslav Škarvada 2022-11-22 00:40:47 UTC
*** Bug 2144614 has been marked as a duplicate of this bug. ***

Comment 10 Fedora Update System 2022-11-22 01:36:24 UTC
FEDORA-2022-dd2a34a033 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.