Hi everyone, I’m trying to config sending email from application thought this tutorial.
But when I try to send an test email to my emails, its not work, I also try to sen one or another.
looking for log file its show
Oct 11 16:41:32 mail postfix/pickup[4727]: 81676819B8: uid=1000 from=<myuser@mydomain.com>
Oct 11 16:41:32 mail postfix/cleanup[5349]: 81676819B8: message-id=<20171011164132.81676819B8@mydomain.com >
Oct 11 16:41:32 mail postfix/qmgr[4728]: 81676819B8: from=<myuser@mydomain.com >, size=396, nrcpt=1 (queue active)
Oct 11 16:41:41 mail postfix/qmgr[4728]: 8CF22819B5: from=<myuser@mydomain.com >, size=396, nrcpt=1 (queue active)
Oct 11 16:42:02 mail postfix/smtp[5351]: connect to gmail-smtp-in.l.google.com[173.194.68.27]:25: Connection timed out
Oct 11 16:42:02 mail postfix/smtp[5351]: connect to gmail-smtp-in.l.google.com[2607:f8b0:400d:c0c::1b]:25: Network is unreachable
Oct 11 16:42:02 mail postfix/smtp[5351]: connect to alt1.gmail-smtp-in.l.google.com[2800:3f0:4003:c01::1a]:25: Network is unreachable
Oct 11 16:42:11 mail postfix/smtp[5354]: connect to gmail-smtp-in.l.google.com[209.85.201.26]:25: Connection timed out
Oct 11 16:42:11 mail postfix/smtp[5354]: connect to gmail-smtp-in.l.google.com[2607:f8b0:400d:c03::1b]:25: Network is unreachable
Oct 11 16:42:11 mail postfix/smtp[5354]: connect to alt1.gmail-smtp-in.l.google.com[2800:3f0:4003:c01::1a]:25: Network is unreachable
Oct 11 16:42:32 mail postfix/smtp[5351]: connect to alt1.gmail-smtp-in.l.google.com[64.233.190.26]:25: Connection timed out
Oct 11 16:42:32 mail postfix/smtp[5351]: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400b:c03::1a]:25: Network is unreachable
Oct 11 16:42:32 mail postfix/smtp[5351]: 81676819B8: to=<myemail@gmail.com>, relay=none, delay=60, delays=0.01/0.01/60/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400b:c03::1a]:25: Network is unreachable)
Oct 11 16:42:41 mail postfix/smtp[5354]: connect to alt1.gmail-smtp-in.l.google.com[64.233.190.26]:25: Connection timed out
Oct 11 16:42:41 mail postfix/smtp[5354]: connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400b:c03::1a]:25: Network is unreachable
Oct 11 16:42:41 mail postfix/smtp[5354]: 8CF22819B5: to=<myemail@gmail.com>, relay=none, delay=1535, delays=1475/0.01/60/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[2a00:1450:400b:c03::1a]:25: Network is unreachable)
I already using zoho mail service, could it be the reason.
Every thing I work on ubuntu 17.04
Thanks for any help.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Accepted Answer
HI
finally i made a ticket to DO, they said they will consider to open port 25 after 60 days i create new droplet, cuz they worry about spam problem… so i agree with them. From now i just wait for a couple weeks ahead.
Hello,
I found solution somewhere if it helps you
Go to:/etc/postfix/main.cf
make these changes there:
# Enable IPv4, and IPv6 if supported
#inet_protocols = all
inet_protocols = ipv4
If it worked, just know that your vps/server doesn’t support ipv6.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.