Turns out that Postfix would send mail perfectly to users outside of our Google Apps domain, but not within. Here is the solution.<div><br></div><div>Remove Postfix and install SSMTP</div><div><br></div><div>edit /etc/ssmtp/ssmtp.conf to look like the following:</div>
<div><br></div><div><div>root=Email you want to send from on Google Apps domain</div><div>mailhub=<a href="http://smtp.gmail.com:587">smtp.gmail.com:587</a></div><div>rewriteDomain=your Google Apps domain</div><div>hostname=<a href="http://upload.doane.edu">upload.doane.edu</a> (Set so Postini won't refuse emails, see iplock if using Postini)</div>
<div>UseSTARTTLS=YES</div><div>AuthUser=Email you want to send from on Google Apps domain</div><div>AuthPass=Password to email above</div><div>FromLineOverride=Yes</div></div><div><br></div><div>Chris</div><div><br><div class="gmail_quote">
On Tue, Jun 5, 2012 at 8:42 AM, Chris Craven <span dir="ltr"><<a href="mailto:chris.craven@doane.edu" target="_blank">chris.craven@doane.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
No sooner than I post that I find a solution.<div><br></div><div><a href="http://ubuntu-tutorials.com/2008/11/11/relaying-postfix-smtp-via-smtpgmailcom/" target="_blank">http://ubuntu-tutorials.com/2008/11/11/relaying-postfix-smtp-via-smtpgmailcom/</a> <div>
<div class="h5"><br>
<br><div class="gmail_quote">On Tue, Jun 5, 2012 at 8:22 AM, Chris Craven <span dir="ltr"><<a href="mailto:chris.craven@doane.edu" target="_blank">chris.craven@doane.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello all,<div><br></div><div>I apologize, a brief glance through the archives of the list serve didn't turn up what I was looking for. We are a primary a windows based shop that uses Gmail (through google apps) for our email needs. I don't have much experience with Postfix, much less setting up a relay with it. I am also willing to modify code for email if someone pointed me at the right file/directory.</div>
<div><br></div><div>I have a base install of the Ubuntu VM.</div><div><br></div><div>Thanks,<br clear="all"><div><br></div>Chris
</div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Chris Craven<br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Chris Craven<br>
</div>