It is a known issue with TLS on debian.

On Mon, May 12, 2025 7:10 pm, Eric Broch wrote:
> William,
>
> I set up a debian 12 server today and relayed (although not through the
> toaster) mail to my qmailtoaster Rocky 8.10
>
> On debian 12
>
> #  echo "Test Email" | sendmail -f [email protected]  -v
> [email protected]
>
> [email protected]... Connecting to [127.0.0.1] via
> relay...
> 220 debian.mydomain.com ESMTP Sendmail
> 8.17.1.9/8.17.1.9/Debian-2+deb12u2; Mon, 12 May 2025 18:17:36 -0600; (No
> UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]
>  >>> EHLO debian.mydomain.com
> 250-debian.mydomain.com Hello localhost [127.0.0.1], pleased to meet you
> 250-ENHANCEDSTATUSCODES
> 250-PIPELINING
> 250-EXPN
> 250-VERB
> 250-8BITMIME
> 250-SIZE
> 250-DSN
> 250-ETRN
> 250-AUTH DIGEST-MD5 CRAM-MD5
> 250-DELIVERBY
> 250 HELP
>  >>> VERB
> 250 2.0.0 Verbose mode
>  >>> MAIL From:<[email protected]> SIZE=11 [email protected]
> 250 2.1.0 <[email protected]>... Sender ok
>  >>> RCPT To:<[email protected]>
>  >>> DATA
> 250 2.1.5 <[email protected]>... Recipient ok
> 354 End data with <CR><LF>.<CR><LF>
>  >>> .
> 050 <[email protected]>... Connecting to
> mail.qmailserver.com. via esmtp...
> 050 220 mail.qmailserver.com ESMTP
> 050 >>> EHLO debian.mydomain.com
> 050 250-mail.qmailserver.com
> 050 250-STARTTLS
> 050 250-PIPELINING
> 050 250-8BITMIME
> 050 250 SIZE 400971520
> 050 >>> STARTTLS
> 050 220 Proceed.
> 050 >>> EHLO debian.mydomain.com
> 050 250-mail.qmailserver.com
> 050 250-PIPELINING
> 050 250-8BITMIME
> 050 250 SIZE 400971520
> 050 >>> MAIL From:<[email protected]> SIZE=311
> 050 250 ok
> 050 >>> RCPT To:<[email protected]>
> 050 >>> DATA
> 050 250 ok
> 050 354 go ahead
> 050 >>> .
> 050 250 ok 1747095458 qp 2108981
> 050 <[email protected]>... Sent (ok 1747095458 qp
> 2108981)
> 250 2.0.0 54D0Ha06003873 Message accepted for delivery
> [email protected]... Sent (54D0Ha06003873 Message
> accepted for delivery)
> Closing connection to [127.0.0.1]
>  >>> QUIT
> 221 2.0.0 debian.mydomain.com closing connection
>
> On the mail.qmailserver.com in /var/log/maillog (spamdyke)
>
> May 12 20:04:54 mail spamdyke[2125019]: [6th call]:ALLOWED from:
> [email protected] to: [email protected]
> origin_ip: 192.168.x.xxx origin_rdns: (unknown) auth: (unknown)
> encryption: TLS reason: 250_ok_1747101894_qp_2125021
>
>
> What version of qmailtoaster are you running? spamdyke version? OS?
>
> Eric
>
>
> On 5/12/2025 7:36 AM, William Silverstein wrote:
>> The debian server is not a qmail server. The server being connected to
>> as
>> the smart host is the qmail server.
>>
>>
>> On Mon, May 12, 2025 5:30 am, Eric Broch wrote:
>>> Is this a qmail server?
>>>
>>> On 5/11/2025 4:54 AM, William Silverstein wrote:
>>>> I have a sendmail with smarthost to relay through my qmail server.
>>>>
>>>> On a new debian server (Debian GNU/Linux 12 (bookworm), the relay
>>>> fails.
>>>> When I try: "echo "Test Email" | sendmail -v XXXX@XXXX"
>>>>
>>>> I get (after giving me the expected interaction with my mail server):
>>>>
>>>> 050 220 ready for tls
>>>> 050 <XXX@sXXXX>... Deferred: 454 4.7.0 TLS handshake failed.
>>>> 250 2.0.0 54BAL6Kv004394 Message accepted for delivery
>>>> XXX@XXXXX... Sent (54BAL6Kv004394 Message accepted for delivery)
>>>>
>>>>
>>>> Any ideas?  Thanks.
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail:
>>> [email protected]
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
William G. Silverstein, Esq.
8383 Wilshire Blvd. Suite 630.
Beverly Hills, CA 90211






---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to