[exim] Re: Exim4 smarthost troubles

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Eric Kingston
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: [exim] Re: Exim4 smarthost troubles
Hello Ian,

Thank you for your reply.

I get the following from the exim mainlog....

2024-02-22 18:32:54.272 [42047] 1rdKQn-000AwA-Mt ** ericnk321@???
F=<noal@???> P=<noal@???> R=smarthost
T=remote_smtp_smarthost H=smtp-relay.brevo.com [1.179.119.1]:587
I=[10.32.0.41]:33824
X=TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128 CV=yes
DN="CN=*.brevo.com": SMTP error from remote mail server after pipelined
end of data: 502 5.7.0 Please authenticate first DT=0.240s

Below is a communication log directly from the command-line....

exim -v ericnk321@???
From: noal@???
Subject:  SMTP Relay test
This is a test of a SMTP relay.
LOG: MAIN
  <= root@??? U=root P=local S=356 M8S=0 RT=23s
id*=E1rdKtc-000BJx-3F@???
root@mail:/etc/exim4# delivering 1rdKtc-000BJx-3F
R: smarthost for ericnk321@???
T: remote_smtp_smarthost for ericnk321@???
Transport port=25 replaced by host-specific port=587
Connecting to smtp-relay.brevo.com [1.179.119.1]:587 ...  TFO mode
sendto, no data: EINPROGRESS
 connected
  SMTP<< 220 smtp-relay.brevo.com ESMTP Service Ready
  SMTP>> EHLO mail.noalmusic.com
  SMTP<< 250-Hello mail.noalmusic.com
         250-PIPELINING
         250-8BITMIME
         250-ENHANCEDSTATUSCODES
         250-CHUNKING
         250-STARTTLS
         250-AUTH PLAIN LOGIN CRAM-MD5
         250 SIZE 20971520
  SMTP>> STARTTLS
  SMTP<< 220 2.0.0 Ready to start TLS
  SMTP>> EHLO mail.noalmusic.com
  SMTP<< 250-Hello mail.noalmusic.com
         250-PIPELINING
         250-8BITMIME
         250-ENHANCEDSTATUSCODES
         250-CHUNKING
         250-AUTH CRAM-MD5 PLAIN LOGIN
         250 SIZE 20971520
  SMTP|> MAIL FROM:<root@???> SIZE=1390
  SMTP|> RCPT TO:<ericnk321@???>
         will write message using CHUNKING
  SMTP+> BDAT 367 LAST
  SMTP>> QUIT
  SMTP<< 502 5.7.0 Please authenticate first
  SMTP<< 502 5.5.1 Missing MAIL FROM command.
  SMTP<< 502 5.5.1 Missing RCPT TO command.
  SMTP(close)>>
LOG: MAIN
  ** ericnk321@??? F=<root@???> P=<root@???>
R=smarthost T=remote_smtp_smarthost H=smtp-relay.brevo.com
[1.179.119.1]:587 I=[10.32.0.41]:52460
X=TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128 CV=yes
DN="CN=*.brevo.com": SMTP error from remote mail server after pipelined
end of data: 502 5.7.0 Please authenticate first DT=0.253s
LOG: MAIN
  <= <> R=1rdKtc-000BJx-3F U=Debian-exim P=local S=1849 M8S=0 RT=0.019s
id*=E1rdKu0-000BK1-Eg@???


It looks like the authentication methods are CRAM-MD5 PLAIN LOGIN.  Any
ideas?


On 2/21/2024 9:33 PM, Ian Z via Exim-users wrote:
> I should have asked what auth mechanisms you see in the relay EHLO
> response? A good way to test this (or any issue with SMTP
> communication in fact) is with the swaks tool.
>


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/