AMAZON SES unable to send email to forward only email addresses - keycloak

I have setup Amazon SES to work with keycloak. SES is sending out email verification correctly upon signups.
However, if a user uses a forward-only-email-address while registering, SES does not send the verification email. Instead admin (From address) gets an email from
MAILER-DAEMON#us-east-2.amazonses.com
to From account
Does SES require special setup for sending out email to a forward-only-email-address (email address that does not have actual mailbox associated with)

Related

Godaddy email forwarders not working when sending from php mail

I have an email forwarder set up on my GoDaddy account, which works fine when sending from an individual email account, but when I sent to it from a PHP script, it never gets received.
Here are a few additional details (I feel like the first two items here might be key in figuring out the answer):
The email forwarder is on a GoDaddy account with a domain name. The Website for this domain name is hosted on another godaddy account. The nameservers set on the Domain name account are the default name servers (The website is working properly, because both accounts are GoDaddy).
I have tried setting the email forwarder up on the hosting account instead of the domain name account. Interestingly, the email then does receive emails from php mail, but it does not receive emails sent directly from an email account. Instead, I get the error message "Your message wasn't delivered to name#xxx.com because the address couldn't be found, or is unable to receive mail."
I can successfully send an email to any other email account from the same php script, so the problem is not my php mail function
I had made some changes to MX records at one point, but then changed them back. A GoDaddy support tech said that they were correct and should work
I've spent lots of time with Godaddy support, they said that they can not help me since the email forwarder is "working" when sent from a regular email account.

Not able to send mails to the same domain using SendGrid api

I'm using the SendGrid API to send the mail. It is working fine if, from and to domains are different. But it is not working if both from and to domains are same.
If the sent "from" email address' domain name is #yahoo.com or other large email provider, then all "DMARC" compliant mail servers will bounce the email unless the email was originated from the email provider's mail servers.
Otherwise, their should be no issue with sending emails where the "from" and "to" domain is the same.
For reference, this is yahoo's DMARC policy currently (as of 2/5/2019):
(https://help.yahoo.com/kb/SLN24050.html)
Yahoo recently updated the DMARC record with "p=reject" for Yahoo domains. This was done to protect our users from increasing email spam that uses Yahoo email addresses from other mail servers.
All DMARC compliant mail receivers (including Yahoo, Hotmail, and Gmail) are now bouncing emails sent as Yahoo email addresses that aren't sent through Yahoo servers.

SES verification email not received

I have a verified Domain in Amazon SES with a single email address. This address works fine and I can send and receive mails no problem.
I want to add a second email address to the domain, so I have copied the original account settings. There is a Rule Set for the new address that send to a S3 bucket and to WorkMail via an SNS topic. I can send mails from this new address. However the status is pending so I cannot reveive.
When I try to resend the verification email, the mail get sresent successfully, but I never receive the mail, neither in the S3 bucket nor in WorkMail.
What am I doing wrong?
You need to verify the email address by logging into the email client that you used to create that email address, and then clicking on the link that you get. So if you are using Workmail as your email client, just as an example, you need to create the email address there, and then add it to your list of addresses in Amazon SES and verify it. Summarized in 3 steps:
Create an address in whatever email client you use
Go to Amazon SES and add it to your list of email address identities in Amazon SES
Send the verification email
Go back to your email client (Workmail or whatever you're using to check your emails), open verification email, and click on the link
Now your rule sets should work.
I spend some time there... AWS has a trick there. Create AWS Work email(same you want to verify) first. Follow youtube videos-pretty easy. Then go to Amazon Ses and create email to you want to verify. The email will come to Amazon Work email. You will verify it from the web page mail application. After you need to ask Amazon to move your from Sand Box environment to Production. You will find links in SES. You fill simple form and Amazon will make it work for you. Then go back and delete Work mail or keep it(only costs 4USD per user)

Auto reply to email via SES received with SES

I currently have a domain name that I will no longer be hosting on. I will however keep the domain name forever. Is there any way I can setup an automated setup where I recieve email with Amazon SES and it auto-replies a pre-set email to any incoming email on any address on that domain?
Yes, you can have AWS SES action to run a Lambda function, which auto-replies to the receiver, in response to each incoming email.
http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-action-lambda.html

Can we send and receive email via Amazon SES?

I have set up Amazon SES for sending emails from my Java application. I also need to receive emails. I see that there is an option to receive emails using SES. But the docs are bit confusing. If I understand them correct, we can only receive emails from the domains that we own using SES.
The following doc says the same:
SES Doc
I just want to know if SES will help me to receive emails from or to various domains including Gmail or only from the domains I own.
You can receive emails from any email address/domain using AWS SES.
Edit: The process of verifying the domain is to prove that you own/control it (the domain), but once you verify it you can send email to any domain, and receive email from any domain. The verification has to do with allowing you to receive email for that domain, or send email via that domain - it has nothing to do with the domain of the people that send you an email.
Before you can receive email for a domain using Amazon SES, you must
prove that you own the domain by verifying it with Amazon SES.
Although Amazon SES enables you to verify single email addresses, you
must verify a domain if you want to use Amazon SES for email
receiving. You can verify and receive email with Amazon SES for any
domain that you own, but it is easier to set up a domain that you have
registered with Amazon Route 53.
http://docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email-getting-started-verify.html
Currently Amazon do additional restriction. When you create new SES account, you are in sandbox.
However, when your account is in the sandbox, we apply the following restrictions to your account:
You can only send mail to verified email addresses and domains, or to the Amazon SES mailbox simulator.
You can only send mail from verified email addresses and domains.
You can send a maximum of 200 messages per 24-hour period.
You can send a maximum of 1 message per second.
To be able to send emails to different domain you should Moving Out of the Amazon SES Sandbox
To be able to receive emails, you must forward them to services like S3 or WorkMail for example
See also