Skip to content

Instantly share code, notes, and snippets.

@codekipple
Created May 12, 2015 10:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codekipple/688b3f4f8ec00eb0c0c4 to your computer and use it in GitHub Desktop.
Save codekipple/688b3f4f8ec00eb0c0c4 to your computer and use it in GitHub Desktop.
getting postfix setup as a send mail server on ubuntu using a vagrant VM
This could be unrelated but I'm going to post it here because I had a hard time finding the answer to my question. I was able to get outbound email working from a vagrant virtual box by editing my /etc/resolv.conf to use Google's nameserver rather than the 10.0.x.x IP it was set to:
sudo vi /etc/resolv.conf
Change the nameserver IP:
nameserver 8.8.8.8
Then you'll need to restart postfix:
sudo /etc/init.d/postfix restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment