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.
  • 47 Users Found This Useful
Was this answer helpful?

Related Articles

How do I add an SSH key to my VPS?

What is an SSH Key? SSH is a widely-used protocol for interacting with remote servers for...

How do I order DNS Hosting?

We offer cPanel DNS Hosting for free for all clients (one per account). You can order by clicking...

What does the error mean when I try to change my root password?

If you are trying to change your root password with SolusVM and receiving the "Unknown error....

Where is the IRC channel?

You can join our IRC channel at #ramnode on irc.freenode.net with your IRC client. You can also...

Enabling TUN/TAP

You can enable TUN/TAP on your OpenVZ VPS from the SolusVM control panel. Click Manage >...