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 ** ericnk...@gmail.com F=<n...@noalmusic.com> P=<n...@noalmusic.com> 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 ericnk...@gmail.com
From: n...@noalmusic.com
Subject:  SMTP Relay test
This is a test of a SMTP relay.
LOG: MAIN
  <= r...@noalmusic.com U=root P=local S=356 M8S=0 RT=23s id*=e1rdktc-000bjx...@mail.noalmusic.com
root@mail:/etc/exim4# delivering 1rdKtc-000BJx-3F
R: smarthost for ericnk...@gmail.com
T: remote_smtp_smarthost for ericnk...@gmail.com
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:<r...@noalmusic.com> SIZE=1390
  SMTP|> RCPT TO:<ericnk...@gmail.com>
         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
  ** ericnk...@gmail.com F=<r...@noalmusic.com> P=<r...@noalmusic.com> 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...@mail.noalmusic.com


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-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to