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

Related Articles

Do I need a domain name (FQDN) for the hostname?

No - the hostname is an arbitrary identifier for your VPS. It can be either a Fully Qualified...

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....

How do I clear my iptables rules?

If you find yourself unable to reach your VPS, but able to reach other parts of our network, you...

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

Clients can set reverse DNS (RDNS/PTR) in the SolusVM control panel. Click the Network tab and...

Automated DDoS Mitigation (RamNull)

RamNull is our customized DDoS mitigation system. RamNull automatically nullroutes targeted IPs...