Possible Duplicate:
Outgoing mail from linux not being delivered
I'm sending email from a server, let's say domain.com.
I also have Google Apps email set up for hosted email, same domain, domain.com.
If I get mail sent to me from anywhere else, I receive things just fine. However, if the email originates from my server, it just ends up in /var/mail/root as a delivery error saying the user is unknown.
I created a user on the server for the name which is having trouble, webmaster@domain.com. Retried sending and it sends, but not to my hosted email at Google Apps. I just receive it at /var/mail/webmaster now.
I'm using sendmail. I messed around with /etc/aliases but adding webmaster: webmaster@domain.com looked useless (and I was right.)
Any help?