Send email from server to Google Apps email address (same domains)
Posted
by
Orlando
on Server Fault
See other posts from Server Fault
or by Orlando
Published on 2012-08-27T23:48:37Z
Indexed on
2012/08/28
3:40 UTC
Read the original article
Hit count: 942
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, [email protected]. 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: [email protected] looked useless (and I was right.)
Any help?
© Server Fault or respective owner