Emails won't send from Yahoo account

The email remains in the Outbox with error message displayed: Error while Sending message.

MAIL FROM command failed: rejected.

I don’t know how to overcome this. Note that my Gmail account (in Evolution) works fine and that received Yahoo messages also work OK.

Hi,
could you run Evolution from a terminal as:

   CAMEL_DEBUG=smtp evolution

and then try to send a message through the Yahoo! account, please? You
can either send a new message, or when you have some pending in the
Outbox then File->Send/Receive->Send All menu option will trigger the
send.

The output on the terminal can contain private information, even some
by-human-unreadable tokens, thus do not share it in public without
sanitizing what the output is.

The log should contain what FROM address was used. I guess the sending
server did not recognize the mail address which was used, but it’s only
a guess. The log can contain more detailed information about the
problem too, depending whether the server sent any such details.

Bye,
Milan

If you post the sanitized log, please make sure to remove full email addresses, usernames, OAuth/app-password tokens, message IDs, and anything that looks like a long random string. Leaving the SMTP commands and server replies is usually enough to understand where it fails.

Also worth checking in Evolution’s Yahoo account settings: the “From” address/identity should exactly match the Yahoo address or an alias that Yahoo is configured to allow for sending. Yahoo can reject MAIL FROM if Evolution is trying to send with a different address than the authenticated account.

Hello Milan

I tried as you suggested but the situation has not changed.

With regard to the Debug output, I couldn’t respond to you by email because I can’t send from Yahoo and your site would not accept an email from my Gmail account. Then I tried to attach it to this message as a pdf but that wasn’t allowed because I am a new member. Also tried to paste the output into this message but that wasn’t allowed because of what your system thinks are links in the text.
Can you help with this - I’m almost tearing my hair out!!

Trevor

Hi,
none of the systems are mine, when it comes to it. I’m the same user as
you, only hanging here for a longer time.

You can send the log (attached) to me directly, it’s mcrha at redhat
(dot) com, only reference this report there (a link to it ideally),
thus I know what it belongs to, and I won’t overlook it in my spam
folder.

By the way, did you verify what Ashton suggested? Especially the email
address you’ve set in the account Properties->Identity tab, which is
passed to the server. You should see the same address in the log. The
log also should contain a line with the MAIL FROM, which should be
followed by the same error message you see in the Evolution, then maybe
some more lines, with an explanation. Do verify in the log what the
MAIL FROM is and whether it matches what the server expects (as
Ashton suggested). The server seems to disagree and returns the error.

Bye,
Milan

Hello

was checking my send settings again and I notice that Server requires Authentication wasn’t ticked.

I ticked the box and next time I tried to send it asked for the password and hey presto!

thanks for your help along the way. Although I was struggling with the jargon. I got the result in the end.

Hi,
it’s true the default is to not enable authentication for the SMTP. I
completely forgot of it. Good you found the problem.

From the log you sent me, the server simply returned:

[SMTP] received: 554 Email rejected

with no further explanation.

Bye,
Milan