glave
September 11th, 2008, 08:35 PM
I recently had to reinstall my server and I've hit a snag on setting things back up, and I don't have the foggiest where to begin.
Well over a year ago, I dumped off my mail over to Google Apps for simplicity. Right off the bat, I was still getting any server related messages (From cron or mdadm being sent to root, from root) delivered. Messages arrived correctly showing they were FROM root. I did not have to setup a relay to google or anything.
I currently have gotten postfix reinstalled, and I used instructions primarily from here (http://behindmyscreen.newsvine.com/_news/2006/12/31/501615-configuringubuntu-postfix-and-gmail-in-101-easy-steps). The problem is that since I'm connecting to gmail's smtp using my personal credentials, all emails appear as if I am the sender, and end up in my sent email folder (label).
How can I set myself back up in such a way that my system sends out all of its emails as root, or whatever, and they arrive at my google apps hosted domain just fine? This server just sends its mail out, and has no need for anyone to ever check mail on it at all.
Well over a year ago, I dumped off my mail over to Google Apps for simplicity. Right off the bat, I was still getting any server related messages (From cron or mdadm being sent to root, from root) delivered. Messages arrived correctly showing they were FROM root. I did not have to setup a relay to google or anything.
I currently have gotten postfix reinstalled, and I used instructions primarily from here (http://behindmyscreen.newsvine.com/_news/2006/12/31/501615-configuringubuntu-postfix-and-gmail-in-101-easy-steps). The problem is that since I'm connecting to gmail's smtp using my personal credentials, all emails appear as if I am the sender, and end up in my sent email folder (label).
How can I set myself back up in such a way that my system sends out all of its emails as root, or whatever, and they arrive at my google apps hosted domain just fine? This server just sends its mail out, and has no need for anyone to ever check mail on it at all.