Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail from must equal authorized user #12426

Closed
lionelmeng opened this issue Jan 11, 2018 · 2 comments · Fixed by #14975
Closed

Mail from must equal authorized user #12426

lionelmeng opened this issue Jan 11, 2018 · 2 comments · Fixed by #14975
Assignees
Milestone

Comments

@lionelmeng
Copy link

Version:Piwik 3.2.1
When i send a mail report, it occurs the error: Mail from must equal authorized user

Is there something wrong in my mail configuration?

@Findus23
Copy link
Member

Hi,
I haven't heard of this error message before (and hoped that we wouldn't have such indescriptive error messages).
But it seems like this is a message from your SMTP server, can you check if you used the correct email in the From field?

@frankgx97
Copy link

frankgx97 commented Feb 26, 2019

Hello @Findus23 ,

I encountered the same error and my analysis are as follows:

I captured packets with WireShark when sending an email report.
2019-02-26 6 59 39
As we can see from the image, matomo uses the domain that matomo instance is running on with the "noreply@" prefix as the "MAIL FROM" field in smtp.
The SMTP server returned a 5xx error, indicates the mail from address does not match the authenticated user.

I tried to reproduce the error manually with telnet, and got the same error when providing a wrong MAIL FROM address.
2019-02-26 7 03 25

I have fixed this issue and submited PR #14137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment