Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have purchased a dedicated server some days ago and I think I don't have enough knowledge to configure its DNS etc. Well, I'll describe my situation.

I have a dedicated server for virtualization, it is a SolusVM Xen Slave. My SolusVM Master is a simple VPS in another provider. Inside this dedicated server I have some VPS: 1 - A personal VPS, doesn't matter. 2 - A VPS with Plesk 10 installed. 3 - A VPS with cPanel installed. 4 and 5 - Small VPSs that are SolusVM DNS Servers, they are used to manage rDNS to other VPS inside the dedicated.

I also have the domain This domain is registered with Dynadot and I have a Google Apps account for it. My personal email is and I have an email which is used for some of my websites. For example, I have a small website that sends some info to registered users every morning. This website used to use Google mail servers to send the emails, but due to the Google policies they suspended in my Google Apps account.

According to this I concluded that I would need my own mail server in order to send the emails normally without getting suspended. That is because I installed the Plesk and the cPanel VPSs (among other reasons).

Well, I described my situation. Now I will ask for help and below I will describe what solution I tried, which didn't work.

My question is: how do I proceed in order to send emails correctly FROM (which is in Google Apps) THROUGH my Plesk mail server?

Let me describe the solution I tried, which didn't work.

I created the domain in Plesk. Created an email called inside this domain in the panel. So far, so good. I ran a test script using SMTP authentication to send emails in another VPS. The script works successfully, I could send emails successfully FROM THROUGH the Plesk mail server.

Now the problem.

The problem is: it didn't work when I try to send an email (using the PHP script, of course) FROM THROUGH Plesk mail server TO some email. It gives me:

Failed to add recipient: [SMTP: Invalid response code received from server (code: 550, response: 5.1.1 : Recipient address rejected: User unknown in virtual mailbox table)]

What I think the problem is.

Well, the mail server is not dumb. I think he's assuming is in the local server so it doesn't need to look for another server trying to find And I thought that it was happening because Plesk has its own nameserver, and the MX records in this nameserver was pointing to itself.

Trying to solve I disabled the Plesk nameservers and told Plesk to search in Dynadot nameservers. It didn't work too.

I really do not know how to proceed. Would someone explain me how to proceed with this issue?

Any help would be appreciated.

Thank you, Rafael Andreatta

share|improve this question
Plesk is not a mail server, or a dns server. It is simply a control panel. At the moment, I have no idea what mail server you are running, or how it is configured. – Zoredache Aug 27 '11 at 4:19

"Created an email called inside this domain in the panel."

"Failed to add recipient: [SMTP: Invalid response code received from server (code: 550, response: 5.1.1 : Recipient address rejected: User unknown in virtual mailbox table)]"

Was an account/email created for via the process as

share|improve this answer
No. I just created in Plesk, because I only want to send outgoing emails from not from So there is no need, in my point of view, to create in Plesk. Am I doing it wrong? – rafaame Aug 27 '11 at 16:29
According to the error message, in order to receive email (or have it be a target address on/for your system in this case) it needs an account established for the identified recipient. – user48838 Aug 27 '11 at 17:18

In plesk, you will need to completely disable mail service for the domain to make this working. Otherwise, plesk will check the email accounts always locally and won't see the actual MX for google.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.