Saturday, 2 January 2016

Enable ipv4 for sending emails in postfix in ubuntu server

Some times Gmail will not accept the mails from postfix server which is configured to have the emails sending over all network protocol. So we need to change the protocol to ipv4.

You can do the below steps to enable sending mails through postfix using ipv4.


Open /etc/postfix/main.cf

Find the line inet_protocols = all

Replace all with ipv4

vim /etc/postfix/main.cf 
inet_protocols = ipv4 

Restart postfix

/etc/init.d/postfix restart

No comments:

Post a Comment