Account Set up fails with SMTP error

Hello there, I have the same problem with Elementary OS/ Ubuntu.

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

Some solution for Ubuntu users?

3 Likes

Hi,
Same issue on Mac M1 for SMTP configuration:

220 mail.gandi.net ESMTP Postfix
init
EHLO suppressed
250-mail.gandi.net
250-PIPELINING
250-SIZE 35651584
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
AUTH PLAIN []==
235 2.7.0 Authentication successful
MAIL FROM:<suppressed>
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: 

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

So painful that I’m considering switching away from MailSpring. Such a shame

1 Like

to other client or other mailspring version?

@Katakurinna to other client… or any working version of MailSpring. We need a functioning IMAP and connection capability.
Any other version to recommend ? As log shows that the issue is not the SMTP authentification but the fact that our provider detects that the email@invalid.com relates to a non existing domain.

@cantgetthatping Talking with my company IT department, Its mailspring issue, so I installed BlueMail for now, its a good one, if I mailspring solve the issue I will check if I move back to mailspring.

1 Like

I’ve got the same problem with Mailspring trying to send an SMTP authentication to email@invalid.com and failing. I had to update the password on my email account and now this Mailspring bug has locked me out and I’ve had to revert to Thunderbird.

Help!!

Nick
Linux Mint.

Thanks a lot @glenn2223, your solution worked for me

1 Like

I have a similar issue Gmx not working, smtp error and it’s been 2 weeks i’d like to try mailspring and I cannot

gonna go with geary

Same error for me. Please fix this asap.

Same issue, cannot complete log in process in Ubuntu 20.04 in Mailspring 1.10.5:

RCPT TO:email@invalid.com
450 4.1.2 email@invalid.com: Recipient address rejected: Domain not found

same issue,
MacOS 12.6, Mailspring 1.10.5

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

Enter your email account credentials to get started.Important: GMX requires that you enable IMAP before using email clients like Mailspring.
https://support.gmx.com/pop-imap/toggle.html

----------IMAP----------
connect <mailcore::IMAPSession:0x16f0f3510>
* OK [CAPABILITY IMAP4rev1 CHILDREN ENABLE ID IDLE LIST-EXTENDED LIST-STATUS LITERAL- MOVE NAMESPACE SASL-IR SORT SPECIAL-USE THREAD=ORDEREDSUBJECT UIDPLUS UNSELECT WITHIN AUTH=LOGIN AUTH=PLAIN] IMAP server ready H migmx108 22.1.2 IMAP-1N5C61-1oz4K12ThN-0105aO
ssl connect imap.gmx.com 993 2
connect ok
login
1 LOGIN "leoric@gmx.com" "*********"
1 OK LOGIN completed
2 CAPABILITY
* CAPABILITY IMAP4rev1 CHILDREN ENABLE ID IDLE LIST-EXTENDED LIST-STATUS LITERAL- MOVE NAMESPACE SASL-IR SORT SPECIAL-USE THREAD=ORDEREDSUBJECT UIDPLUS UNSELECT WITHIN APPENDLIMIT=71303168
2 OK CAPABILITY completed
3 NAMESPACE
* NAMESPACE (("" "/")) NIL NIL
3 OK NAMESPACE completed
login ok
4 LIST "" "*"
* LIST (\Archive \HasNoChildren) "/" Archive
* LIST (\Drafts \NoInferiors) "/" Drafts
* LIST (\HasNoChildren) "/" INBOX
* LIST (\HasNoChildren) "/" Notes
* LIST (\NoInferiors) "/" OUTBOX
* LIST (\Sent \NoInferiors) "/" Sent
* LIST (\Junk \NoInferiors) "/" Spam
* LIST (\HasNoChildren) "/" Starred
* LIST (\Trash \HasNoChildren) "/" Trash
* LIST (\HasChildren) "/" [Airmail]
* LIST (\HasNoChildren) "/" [Airmail]/Done
* LIST (\HasNoChildren) "/" [Airmail]/Memo
* LIST (\HasNoChildren) "/" "[Airmail]/Send Later"
* LIST (\HasNoChildren) "/" [Airmail]/Snooze
* LIST (\HasNoChildren) "/" "[Airmail]/To Do"
4 OK LIST completed


----------SMTP----------
connect mail.gmx.com 587
220 gmx.net (mrgmx005) Nemesis ESMTP Service ready
init
EHLO LeMac.local
250-gmx.net Hello LeMac.local [ my ip address]
250-8BITMIME
250-SIZE 69920427
250 STARTTLS
start TLS
STARTTLS
220 OK
done
init after starttls
EHLO LeMac.local
250-gmx.net Hello LeMac.local [ my ip address]
250-8BITMIME
250-AUTH LOGIN PLAIN
250 SIZE 69920427
AUTH PLAIN <token here>
235 Authentication succeeded
MAIL FROM:<leoric@gmx.com>
250 Requested mail action okay, completed
RCPT TO:<email@invalid.com>
451 Requested action aborted: local error in processing


SASL_PATH: 

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

Can anyone point me in the right direction to be able to apply this fix in Linux?

1 Like

Confusing though, I’m having the same issue with mail.gandi.net but never seen this before…

Same issue with posteo.de



----------SMTP----------
connect posteo.de 587
220 submission02.posteo.de ESMTP Postfix
init
EHLO fedora
250-submission02.posteo.de
250-PIPELINING
250-SIZE 76800000
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
start TLS
STARTTLS
220 2.0.0 Ready to start TLS
done
OpenSSL version: OpenSSL 1.1.0f  25 May 2017
init after starttls
EHLO fedora
250-submission02.posteo.de
250-PIPELINING
250-SIZE 76800000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
AUTH PLAIN **********REDACTED**********
235 2.7.0 Authentication successful
MAIL FROM:<**********REDACTED**********@posteo.de>
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/520/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

Mailspring 1.10.6 Keep with the same error.
We can’t use it… Very very bad…

1 Like

Same issue here. SMTP Authentication succeeds, but then :

MAIL FROM:<xxx@web.de>
250 Requested mail action okay, completed
RCPT TO:<email@invalid.com>
451 Requested action aborted: local error in processing


SASL_PATH: /snap/mailspring/520/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 ubuntu, tried older versions to no avail. Looks like the problem stems with @invalid.com

This issue should be resolved as of: SMTP fix - Community#1625 by glenn2223 · Pull Request #6 · Foundry376/Mailspring-Sync · GitHub

Thanks a lot to @glenn2223 for the fix!

You may need to remove the account in question and add it new for the fix to take effect. See: SMTP authentication error reported by riseup.net · Issue #2435 · Foundry376/Mailspring · GitHub

Thank you to @glenn2223 , and anyone else involved with getting this smtp error fixed! We appreciate your time and effort!!

You’re genius, it works for me too :partying_face: