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: D899E43DD7: uid=1000 from=<user-account-name>
Oct 24 13:33:00 ubuntu-vps-name postfix/cleanup: D899E43DD7: firstname.lastname@example.org
Oct 24 13:33:00 ubuntu-vps-name postfix/qmgr: D899E43DD7: email@example.com, size=752, nrcpt=1 (queue active)
Oct 24 13:33:01 ubuntu-vps-name postfix/smtp: D899E43DD7: firstname.lastname@example.org, relay=gmail-smtp-in.l.google.com[18.104.22.168]: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[22.214.171.124] 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: 0CA5F43DD8: message-id=20171024133301.0CA5F43DD8@ubuntu-vps-name
Oct 24 13:33:01 ubuntu-vps-name postfix/qmgr: 0CA5F43DD8: from=<>, size=3561, nrcpt=1 (queue active)
Oct 24 13:33:01 ubuntu-vps-name postfix/bounce: D899E43DD7: sender non-delivery notification: 0CA5F43DD8
Oct 24 13:33:01 ubuntu-vps-name postfix/qmgr: D899E43DD7: removed
Oct 24 13:33:01 ubuntu-vps-name postfix/local: 0CA5F43DD8: email@example.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: 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
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.