I'm trying to send an email, through PHP, to an info@ account for the site. The mail function returns true, but the email fails to send.
The server is CentOS 5, and is utilizing postfix for the SMTP server. I can see that the message is added to the queue, but then fails with a "User unkown in virtual alias table" error. After reading the Virtual Readme file, I think postfix is trying to deliver the message locally, because the sending server and the host server of the domain are the same.
The mail is hosted with Google, and I would like to have the mail for the info@ account be delivered there instead of on the local server. How do I configure postfix to do this?
postconf -n
?