Thanks for the reply! I also managed to solve it by setting the MAIL_FROM in the AWS SES settings to be the same as the domain I’m sending from. Just FYI.
Ssvarto
- Mar 8, 2021
- Joined Feb 19, 2021
- 1 discussion
- 5 posts
- 1 best answer
- Post posted... wait what?
- Best Answerset by MAGIC
I found the solution in the end. When setting up the SMTP relay with Amazon SES, I had mistakenly checked the boxes for “Relay Options”, “Relay this domain” and “Relay all recipients”. This broke the inbound emails, I assume since it is referring to inbound rather than outbound. I unchecked them and started receiving emails again and looks like the sending of emails still goes through the relay as long as the “sender-dependent transport” is specified. All these settings can be found under MailcowUI > Configuration > Mail Setup > Domains > Edit Domain.
I set up outbound SMTP relay through Amazon SES and can successfully send email, but now I am having trouble with receiving emails all of a sudden. This is the error:
168D02C006C: to=svarto@mydomain.com, relay=none, delay=36, delays=5.8/0.03/30/0, dsn=4.4.1, status=deferred (connect to mail.mydomain.com[myip]:25: Connection timed out)
I have been changing DNS but I think all should be OK, this is what I have for MX:
mydomain.com -> 10 mail.mydomain.com
mailfrom.mydomain.com -> 20 feedback-smtp.eu-central-1.amazonses.com.I can share more of the DNS but not sure if the other ones are relevant for receiving email and with the above error? Let me know and I am happy to provide, just been pulling my hair out here and hope someone can help me.
and I am having the issue with DMARC too, how did you solve this?