Bug 2140596 - SASL AUTH not working
Summary: SASL AUTH not working
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: sendmail
Version: 37
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2143412 2144614 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-07 10:36 UTC by Harald Hoyer
Modified: 2022-11-22 01:36 UTC (History)
6 users (show)

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:
Clone Of:
Environment:
Last Closed: 2022-11-13 22:46:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.