Send mail via Gmail when server IP is blocked
In this article I'm going to be talking about how you can utilize a Gmail account from Google to send out email for your domain while you are having delivery problems sending from your server.
You might also be interested in learning about why mail servers get blacklisted, for a more in-depth explanation on what can cause your mail server to temporarily be unable to relay mail out to other providers.
Why use a 3rd party service?
It might seem strange to recommend using a 3rd party service such as Google to send mail for you, but please realize that this is not for common everyday mailing tasks, and is just a work around to allow you to keep sending mail to certain providers that might be having issues.
Basically the problem boils down to each email provider on the Internet has slightly different mailing policies, and in some cases a certain provider might start blocking one of our mail server's IP addresses without notifying us, and without publishing the block to a public blacklist database.
While waiting for this mail IP blocking issue to get resolved, you could go ahead and still send mail via a Gmail account using your same email address, and more than likely because Google has such a wide range of IP addresses the odds of them also being blacklisted by the provider you're trying to contact is less likely.
A lot of times when IP blocking like this happens, you might have 15 or 20 people that you're trying to email and only 1 or 2 of their mail providers are rejecting messages from our server. So it's not always something within our control we can resolve for you, as it depends on the remote mail provider, and if they allow for expedited de-listing requests.
How to tell if mail is getting blocked
Typically if there are delivery issues sending to a user, you'll receive a bounce-back message from their mail provider. You can read my article on why does email bounce, bounceback, or error, for a more in-depth explanation about bounce-back messages.
When a certain provider is blocking the mail IP address of one of our servers, you will more than likely receive a bounce-back in this type of format:
554 Your access to this mail system has been rejected due to the sending MTA's poor reputation.
You can attempt to send your message again at a later time, and hopefully that particular provider will no longer be blocking the server's mail IP address. Or you can go ahead and try to use alternate means for getting your message out, while that one remote provider is having issues.
Sending email from Gmail with your own address
In this example, I'm going to be logging into my Gmail account, and adding the email address email@example.com as another address I can send from.
- Go to Gmail.com.
- Either create a new Gmail account, or login to an existing one.
- Towards the top-right, click on the Settings Cog, then click on Settings.
- Click on the Accounts and Import tab.
- In the Send mail as: section, click on Add another email address you own.
- In the pop-up window that comes up, enter in the name and email address for the account you're adding, un-check Treat as an alias, and click Next Step >>
- On the next page leave the option Sent through Gmail (eaiser to setup) selected, then click Next Step >>
- Now you need to verify you have access to the email account we've entered, on the next page click on Send Verification.
- Check your email account, and either click on the verification link, or copy the confirmation code that Gmail emails you into the text box for it, and click on Verify.
- Back on the Accounts and Import tab we can now see our new account added, go ahead and click on Compose.
- Now in the From drop-down, select our new account, then enter in the rest of your message and click Send.
- Now check the account you send the message to, you should see it was sent from the new account we've added, and also mailed by gmail.com.
You should now understand how you can utilize Gmail to temporarily send mail for your email accounts, while you're having delivery issues to specific email providers that are blocking your email.
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!
2014-07-14 12:20 pm
I can't even bounce email forwards off the mail server back to gmail. This sucks.
2014-07-14 2:16 pm
I took a look at your email log and I found this message from Google:
Our system has detected an unusual rate of\n421-4.7.0 unsolicited mail originating from your IP address. To protect our\n421-4.7.0 users from spam, mail sent from your IP address has been temporarily\n421-4.7.0 rate limited. Please visit\n421-4.7.0 http://www.google.com/mail/help/bulk_mail.html to review our Bulk\n421 4.7.0 Email Senders Guidelines. ez10si5583865vdb.103 - gsmtp
This is the reason you're having problems with sending out email. If you are sending out email in bulk, then this is reason you're having that problem. If you are not intentionally doing this, you may need to review our article on finding SPAM scripts.
If you continue to have problems with this issue, please respond with more information including any bounce back message or specific error messages.
2014-10-09 3:00 am
answering my question and getting it right my problem is when i send email to citymail.org it gets block there end i receive fine what is wrong is it my end or there end send it through any email account this happens
2014-11-13 12:50 pm
Thank you for contacting us today. We are happy to help, but will need to see actual returned message/error.
Please reply with the full returned error, so we can investigate further.
2014-11-04 7:07 am
Can't understand why I have been blacklisted... any help would be appreciated please.
Technical details of permanent failure:Google tried to deliver your message, but it was rejected by the relay smtp.electricharmonymusic.com bysmtp.electricharmonymusic.com. [22.214.171.124].The error that the other server returned was:550 5.7.1 <mail-qg0-f44.google.com[126.96.36.199]>: Client host rejected: Blacklisted user: firstname.lastname@example.org
2014-11-04 10:05 am
It appears that Google has recognized the IP address 188.8.131.52 as a spam source. Unfortunately, only Google would know the specific reasoning, but you may want to file a report with Google to possibly have the IP removed from the backlist.
2014-11-04 10:51 am
I have just filled a report with Google... I can't understand why they would have done this.
It's very annoying and has set me back a whole day but I appreciate your advice and help, thank you.
2014-11-13 11:10 am
I don't see this option when I go through this process. Did they change it?
"On the next page leave the option Sent through Gmail (eaiser to setup) selected, then click Next Step >>"
I only have the option to set up a different smtp server.
2014-11-13 1:00 pm
It looks like Gmail did change their interface, on as "step 7" is no longer available.
Sorry for the inconvenience, I will review the article and update it as needed as soon as possible.