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

Email rejected when tunneling to AWS SES #9138

Closed
thewire247 opened this issue Nov 1, 2015 · 4 comments
Closed

Email rejected when tunneling to AWS SES #9138

thewire247 opened this issue Nov 1, 2015 · 4 comments
Labels
answered For when a question was asked and we referred to forum or answered it. Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.

Comments

@thewire247
Copy link

I am trying to set up emailing from Piwik so it sends emails through AWS SES. A tunnel is set up to send via SES but SES is rejecting the emails as the email address it tries to send from is not verified. I can't seem to change the email address that the emails are sent from. I've added the following line in the [General] section of my config.ini.php:

noreply_email_address = "xxxxxxxxx@xxxxxxxxxxxxxxxx.com"

This is the output I get in /var/log/maillog:

Oct 28 13:11:27 ip-x-x-x-x postfix/cleanup[3783]: 5176F100AB6B: message-id=<20151028131127.5176F100AB6B@ip-x-x-x-x.eu-west-1.compute.internal>
Oct 28 13:11:27 ip-x-x-x-x postfix/qmgr[997]: 5176F100AB6B: from=<apache@ip-x-x-x-x.eu-west-1.compute.internal>, size=603822, nrcpt=1 (queue active)
Oct 28 13:11:27 ip-x-x-x-x postfix/smtp[3899]: 5176F100AB6B: to=<xxxxxxxxx@xxxxxxxx.com>, relay=x-x-x-x[x-x-x-x]:2525, delay=0.48, delays=0.06/0.02/0.03/0.37, dsn=5.0.0, status=bounced (host x.x.x.x[x.x.x x] said: 554 Message rejected: Email address is not verified. (in reply to end of DATA command))
Oct 28 13:11:27 ip-x-x-x-x postfix/cleanup[3783]: C2A47100AB6C: message-id=<20151028131127.C2A47100AB6C@ip-x-x-x-x.eu-west-1.compute.internal>
Oct 28 13:11:27 ip-x-x-x-x postfix/bounce[3787]: 5176F100AB6B: sender non-delivery notification: C2A47100AB6C
Oct 28 13:11:27 ip-x-x-x-x postfix/qmgr[997]: 5176F100AB6B: removed
Oct 28 13:11:27 ip-x-x-x-x postfix/qmgr[997]: C2A47100AB6C: from=<>, size=2895, nrcpt=1 (queue active)
Oct 28 13:11:27 ip-x-x-x-x postfix/local[3788]: warning: alias database loop for root
Oct 28 13:11:27 ip-x-x-x-x postfix/local[3788]: C2A47100AB6C: to=<root@ip-x-x-x-x.eu-west-1.compute.internal>, orig_to=<apache@ip-x-x-x-x.eu-west-1.compute.internal>, relay=local, delay=0.02, delays=0.01/0/0/0.01, dsn=5.4.6, status=bounced (alias database loop for root)
Oct 28 13:11:27 ip-10-x-x-x postfix/qmgr[997]: C2A47100AB6C: removed
@mattab
Copy link
Member

mattab commented Nov 26, 2015

Are all emails blocked, or only some?

does password reset email work?

do scheduled reports email work?

@mattab mattab added the Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users. label Nov 26, 2015
@mattab
Copy link
Member

mattab commented Dec 23, 2015

Hi @thewire247 do you have more information? (see my previous comment)

@mattab mattab added this to the Short term milestone Dec 23, 2015
@thewire247
Copy link
Author

We managed to get it working. The "from" email address had to be manually set in the zendmail module to get it to work. Before no emails could be sent

@mattab
Copy link
Member

mattab commented Jul 1, 2019

Thanks for feedback. we documented some common workaround in: https://matomo.org/faq/troubleshooting/faq_34856/

@mattab mattab closed this as completed Jul 1, 2019
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it. Waiting for user feedback Indicates the Matomo team is waiting for feedback from the author or other users.
Projects
None yet
Development

No branches or pull requests

2 participants