Hi,
I have a linux box with my domain MX entry, and I want to set another one to provide email services for virtual domains. Lets say that my primary box is ns.primary.com and the new one is mail.primary.com
It is sending mail just right, but it can't receive.
I´ve been fiddling around with the Postfix configuration to no avail, because when I want to send an email to the new box from any other host, it rejects the message and produces the following error:
Code:
reject: RCPT from ns.primary.com[xxx.xxx.xxx.xxx]: 450 <user@virtualdomain.org>: User unknown in local recipient table; from=<myusername@primary.com> proto=ESMTP helo=<ns.primary.com>
I checked my main.cf file and the mydestination parameter is
Code:
mydestination= $myhostname, localhost.$mydomain, virtualdomain.org
the myhostname parameter is mail.primary.com
the myorigin parameter is primary.com
If I change the mydestination parameter to
Code:
mydestination= "$myhostname, localhost.$mydomain, virtualdomain.org"
this error goes away and it says that it can't relay.