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.
Thank you for your feedback!