SMTP server would not relay a message

When setting up an IMAP/SMTP account, I get this message:

“The SMTP server would not relay a message. You may need to authenticate. (SMTP) View Log”

How do I get past this? I have no problem using this account with Evolution, Geary, Thunderbird, etc.

(By the way, this is with the latest version of Mailspring, 1.10.3)

Can it be that no one else has a problem with this? It’s a show-stopper for me.

I have this problem right now. Did you solve it?

Same Issue here!

Even weirder: Mails send just fine on another device with same account. When I go into settings and check the smtp-server I get the same error.

Duplicate of:

@bengotow @Phylu, there are several of these popping up about the place now

Yeah, I had the same issue. The authentication failed when I tried to authenticate an existing account, after also having the error trying to add a different account. If you’re on Windows then my compiled code has been confirmed as a workaround for this issue. Waiting for the devs to tweak the mailsync code to fix this officially

Same issue. In the log I see the following remarks:
----------SMTP----------
220 mail.infomaniak.com ESMTP ready
OpenSSL version: OpenSSL 1.1.0f 25 May 2017
init
EHLO andreas-VivoBook-ASUSLaptop
250-mail.infomaniak.com
250-PIPELINING
250-SIZE
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 AUTH PLAIN LOGIN
AUTH PLAIN YW5kcmVhc0Btb3Nlci5uZXR3b3JrAGFuZHJlYXNAbW9zZXIubmV0d29yawBBbmRyZWFzITY2NTQ3Ng==
235 2.0.0 OK
MAIL FROM:andreas@moser.network
250 2.1.0 Ok
RCPT TO:email@invalid.com
450 4.1.2 email@invalid.com: Recipient address rejected: Domain not found
421 4.7.0 smtp-2-0001.mail.infomaniak.ch Error: too many errors

SASL_PATH: /usr/share/mailspring/resources/app.asar.unpacked

SMTP Last Response Code: 450
SMTP Last Response: 4.1.2 email@invalid.com: Recipient address rejected: Domain not found

For me a show stopper! The other mail addresses did not cause any problems (Outlook and GMail accounts).

…and not working here. I’ve just had to update my Virgin Media password and edited it in Mailspring but now it’s just not connecting with the "The SMTP server would not relay a message. You may need to authenticate. (SMTP)” error. I can view the SMTP log and see that the password has been accepted but connection finally fails with this:

RCPT TO:email@invalid.com
550 5.1.2 Recipient Domain Invalid (VM521)

I have the same problem with an Laposte.net french email.
Does anyone have a solution?

My error:
SMTP Last Response Code: 450
SMTP Last Response: 4.1.2 email@invalid.com: Invalid recipient address. LPN105_418

Almost Same error, using gmx, first time using mailspring and I cannot use it at all, not very promising

RCPT TO:email@invalid.com
451 Requested action aborted: local error in processing

SASL_PATH: /usr/share/mailspring/resources/app.asar.unpacked

SMTP Last Response Code: 451
SMTP Last Response: Requested action aborted: local error in processing

Same here, using mail.gandi.net :frowning:

SASL_PATH:

SMTP Last Response Code: 450
SMTP Last Response: 4.1.2 email@invalid.com: Recipient address rejected: Domain not found

Same problem here, on Ubuntu, this is the SMTP part of the log:

----------SMTP----------
220 [redacted] ESMTP Postfix
OpenSSL version: OpenSSL 1.1.0f  25 May 2017
init
EHLO link
250-[redacted]
250-PIPELINING
250-SIZE 41943040
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
AUTH PLAIN [redacted]
235 2.7.0 Authentication successful
MAIL FROM:<[redacted]>
250 2.1.0 Ok
RCPT TO:<email@invalid.com>
450 4.1.2 <email@invalid.com>: Recipient address rejected: Domain not found


SASL_PATH: /snap/mailspring/519/usr/share/mailspring/resources/app.asar.unpacked

SMTP Last Response Code: 450
SMTP Last Response: 4.1.2 <email@invalid.com>: Recipient address rejected: Domain not found

This account worked fine with mailspring before.

1 Like

Same issue for me. I added 4 email accounts, all from the same hoster. Everything worked fine.

But a couple of weeks later I tried adding a fifth account - one with a dot ‘(.’) in the user name and email address field.

The SMTP server would not relay a message. You may need to authenticate. (SMTP)

----------SMTP----------
220-dal-business-24.hostwindsdns.com ESMTP Exim 4.95 #2 Fri, 28 Oct 2022 22:14:39 -0700
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
(this line doesn’t pop up when allowing insecure ssl: OpenSSL version: OpenSSL 1.1.0f 25 May 2017)
init
EHLO Godtoh
250-dal-business-24.hostwindsdns.com Hello [url redacted] [[ip redacted]]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-PIPE_CONNECT
250-AUTH PLAIN LOGIN
250 HELP
AUTH PLAIN ZmFiaWFuLnNwaWVrZXJAcGVydmFlcnMuY29tAGZhYmlhbi5zcGlla2VyQHBlcnZhZXJzLmNvbQBqMCE2PkBkODxMSylkS0BQ
235 Authentication succeeded
MAIL FROM:firstname.lastname@domain.toplevel
250 OK
RCPT TO:email@invalid.com
451 Temporary local problem - please try later

SASL_PATH:

SMTP Last Response Code: 451
SMTP Last Response: Temporary local problem - please try later

Same issue for me, on Ubuntu.

So what is the alternative (linux)? Thunderbird?

Same issues with infomaniak and PEC PosteItaliane (a certificated email accoun)… on arch: until two weeks ago, ten days at most, both were working without any problems.

As for vivaldi mail, a roundcube account at the office where I work and gmail, so far no problem

how long have you been using mailspring before? i’m just wondering if it’s worth waiting the fix or if it has often problems

Had this issue for a month now. Very strange that it hasn’t been fixed yet. It is sad, because I love Mailspring, but this simply is unacceptable.

1 Like

Same issue here. Ridiculous that this hasn’t been fixed yet.
Using mail.gandi.net

235 2.7.0 Authentication successful
MAIL FROM:<redacted@redacted.com>
250 2.1.0 Ok
RCPT TO:<email@invalid.com>
450 4.1.2 <email@invalid.com>: Recipient address rejected: Domain not found

SASL_PATH: /usr/share/mailspring/resources/app.asar.unpacked

SMTP Last Response Code: 450
SMTP Last Response: 4.1.2 <email@invalid.com>: Recipient address rejected: Domain not found
1 Like

Ok, no workaround for this? @bengotow since we can’t use this, does our subscription pause? I can’t install a fresh install and add a new account…

1 Like