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 firstname.lastname@example.org 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.