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

Error send email #6

Open
pietrocolombo opened this issue May 19, 2021 · 6 comments
Open

Error send email #6

pietrocolombo opened this issue May 19, 2021 · 6 comments

Comments

@pietrocolombo
Copy link

Only send emails to Gmail accounts others fail
I set spf and DMARC

SMTP error from remote mail server after initial connection: 554 mxdhfe12.ad.aruba.it bizsmtp gMiTlOmTiJaFz

SMTP error from remote mail server after pipelined MAIL FROM:<no-reply@my_site.com> SIZE=14506: 550 5.7.1 Unfortunately, messages from [x.x.x.x] weren't sent. Please contact your Internet service provider since part of their network is on our block list (S3140). You can also refer your provider to http://mail.live.com/mail/troubleshooting.aspx#errors. [DB8EUR06FT010.eop-eur06.prod.protection.outlook.com]

SMTP error from remote mail server after initial connection: 554 5.7.0 Blocked

the configuration of the container is this:
mail:
image: bytemark/smtp
restart: always
networks:
- frontend
labels:
- "traefik.enable=false"

if I use an external server it works. But I would like to send the mails with my domain

@jcreek
Copy link

jcreek commented Jul 15, 2021

How did you access these failure logs @pietrocolombo ? I'm having the opposite issue where it's Gmail rejecting my emails, but accessing the logs in docker doesn't show me anything like the SMTP error you've shared.

@pietrocolombo
Copy link
Author

pietrocolombo commented Jul 15, 2021

Did you generate the password for gmail? @jcreek
This is useful if you use a Gmail account for sending emails using the container
https://support.google.com/accounts/answer/185833?hl=en

@pietrocolombo
Copy link
Author

How did you access these failure logs @pietrocolombo ? I'm having the opposite issue where it's Gmail rejecting my emails, but accessing the logs in docker doesn't show me anything like the SMTP error you've shared.

To see the idContainer:
docker ps
To access the logs do:
docker logs idContainer

Is your problem just sending to Gmail account or just not sending to anyone?

I "solved" by configuring the container for sending the mail with the Gmail server

@jcreek
Copy link

jcreek commented Jul 15, 2021

I've actually fixed the issue - it was AWS blocking my emails 🤦

Thank you for your help anyway @pietrocolombo - much appreciated!

@dushyant89
Copy link

@jcreek hey josh, do you remember the AWS specific issue? Was it the outbound rules in your security group?

@jcreek
Copy link

jcreek commented Feb 20, 2023

@dushyant89 there's a form you'll need to fill in, it's AWS themselves blocking it, not something in your environment. See https://aws.amazon.com/premiumsupport/knowledge-center/ec2-port-25-throttle/ for full details :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants