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
Is there a way to force the sender’s email address or is there something else wrong?