title: Gmail bouncing my mails from my VM
body: <p>I must admit I am a mail server noob. However today when trying to send mail to a gmail address from my VM (for development reasons) using Postfix I got:</p>
  
  <pre><code>Apr  7 15:44:17 ubuntu postfix/smtp[1792]: 3061D40A0C: to=&lt;xxx@googlemail.com&gt;, relay=gmail-smtp-in.l.google.com[173.194.66.26]:25, delay=0.95, delays=0.02/0/0.38/0.54, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[173.194.66.26] said: 550-5.7.1 [xx.xxx.xxx.xxx] The IP you're using to send mail is not authorized to 550-5.7.1 send email directly to our servers. Please use the SMTP relay at your 550-5.7.1 service provider instead. Learn more at 550 5.7.1 http://support.google.com/mail/bin/answer.py?answer=10336 bl2si5263213wib.27 (in reply to end of DATA command))
  </code></pre>
  
  <p>I have x'd out the email address and my IP so I ain't showing potentially sensitive info however with that aside I have been reading around that I need to add a certain IP or SMTP server however I cannot seem to get a clear answer from searching around.</p>
  
  <p>So I am wondering how can I make Gmail allow my VMed personal server (sitting on my computer) send mails to my Gmail account?</p>
  
  <p>Is there a document about explaining how to properly set up the sender in Postfix?</p>
  
  <p>Thanks,</p>