Sending Email over IPv4 with Postfix

Google and other email services sometimes block messages sent from an IPv6 address. Sending mail over IPv4 instead is sometimes an easy solution. If you are using Postfix, you can force your outbound emails to be sent over IPv4 by doing the following:

  • Open /etc/postfix/main.cf with a text editor
  • Find the line inet_protocols = all
  • Replace all with ipv4
  • Restart postfix
You should also make sure you have RDNS set up for any IP that you want to send email from. Please see this article for help with RDNS.
  • 53 Users Found This Useful
Was this answer helpful?

Related Articles

How do I connect to my VPS? (SSH)

Windows Users We recommend the program PuTTY for SSH. You can download it here:...

How do I reset/reinstall my VPS OS? (SolusVM)

Steps for Reinstalling MAKE SURE YOU DOWNLOAD WHATEVER YOU WANT TO SAVE TO YOUR COMPUTER....

How do I upgrade or downgrade my service? (SolusVM / cPanel)

Please follow these steps to upgrade or downgrade your service: Login to the Client Area....

Does RamNode backup VPS data? (SolusVM)

As of July 12, 2014, RamNode no longer takes backups of client VPS data. We highly recommend that...

How do I set reverse DNS (RDNS/PTR)?

Cloud: To set an RDNS record for your cloud instance IPs, select the instance and click the "Get...