Sunday, 13 February 2011

set up postfix to send mails to google apps

After hours of search and trying several different solution, I found that it is surprisingly simle:

apt-get install postfix
nano /etc/postfix/main.cnf


change the following

mydestination = mydomain.com, localhost.mydomain.com, localhost

to

mydestination = localhost.mydomain.com, localhost
Reboot the server. Done!

Thanks Gyaan Sutra

No comments:

Post a Comment