Question

Server won't send email

About a month ago my SMTP block opened (by default is blocked) but I haven’t test it until today, now I just tested it but it won’t send email. I think this is my very first time I’m trying my contact form to send email to my Gmail address, but somehow on my log Google said my IP address is spammy, how so?

Here’s part of the log with credential info redacted

Oct 24 13:33:00 ubuntu-vps-name postfix/pickup[1748]: D899E43DD7: uid=1000 from=<user-account-name> Oct 24 13:33:00 ubuntu-vps-name postfix/cleanup[3280]: D899E43DD7: message-id=040b84f194a292e2e44e75aa35859d17@domain.com Oct 24 13:33:00 ubuntu-vps-name postfix/qmgr[1749]: D899E43DD7: from=user-account-name@domain.com, size=752, nrcpt=1 (queue active) Oct 24 13:33:01 ubuntu-vps-name postfix/smtp[3281]: D899E43DD7: to=my-gmail-address@gmail.com, relay=gmail-smtp-in.l.google.com[209.85.201.27]:25, delay=0.18, delays=0.03/0.01/0.06/0.09, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[209.85.201.27] said: 550-5.7.1 [server-ip-address 1] Our system has detected an unusual rate of 550-5.7.1 unsolicited mail originating from your IP address. To protect our 550-5.7.1 users from spam, mail sent from your IP address has been blocked. 550-5.7.1 Please visit 550-5.7.1 https://support.google.com/mail/?p=UnsolicitedIPError to review our 550 5.7.1 Bulk Email Senders Guidelines. g42si245975qta.275 - gsmtp (in reply to end of DATA command)) Oct 24 13:33:01 ubuntu-vps-name postfix/cleanup[3280]: 0CA5F43DD8: message-id=20171024133301.0CA5F43DD8@ubuntu-vps-name Oct 24 13:33:01 ubuntu-vps-name postfix/qmgr[1749]: 0CA5F43DD8: from=<>, size=3561, nrcpt=1 (queue active) Oct 24 13:33:01 ubuntu-vps-name postfix/bounce[3282]: D899E43DD7: sender non-delivery notification: 0CA5F43DD8 Oct 24 13:33:01 ubuntu-vps-name postfix/qmgr[1749]: D899E43DD7: removed Oct 24 13:33:01 ubuntu-vps-name postfix/local[3284]: 0CA5F43DD8: to=user-account-name@domain.com, relay=local, delay=0.02, delays=0.01/0.01/0/0, dsn=2.0.0, status=sent (delivered to mailbox) Oct 24 13:33:01 ubuntu-vps-name postfix/qmgr[1749]: 0CA5F43DD8: removed

Is this mean my server hacked? I’ve implemented all security protection from guides I found on DO guide and some other site. Please help me. Thanks

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@MrWorldWideWeb Hey there,

These days the big mail providers like hotmail, gmail etc. have got their spamfilters pretty strict. This means you won’t be able to send any “legit” mails before you are verified. I won’t go into details alot right now, but think about configuring the following:

  • SPF
  • DKIM
  • DMARC
  • SSL/TLS
  • Global used IP Blacklists & provider specified blacklists. Hotmail for example uses reputation: https://postmaster.live.com/snds/
  • You need to be sending “proper” emails for a while before you got a good reputation.

I don’t know if you want to learn about all of that & configurate it, but I recommend doing it ;) Maybe its something completely new, but learning new things is alwasy fun!

Hope I helped you with this.