Postfix and virtual domains
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> Code:
mydestination= $myhostname, localhost.$mydomain, virtualdomain.org the myorigin parameter is primary.com If I change the mydestination parameter to Code:
mydestination= "$myhostname, localhost.$mydomain, virtualdomain.org" |
Just a wild guess but is your reverse dns setup properly?
This can result in not recieving mail. |
That may be a problem, since the reverse is still using my ISP address. Let me modify that and will tell you tomorrow! Thanks!
|
no problem ~ hope it works - have a look at my issue will yah?
:) |
Mossy,
|
Mossy, I don't use webmin, I do it from the config file itself, sorry!
Now, my ISP has given me my reverse for that box, but checking the logs says Code:
User unknown in local recipient table; |
I noticed something: In the mydestination parameter, if the line is too long
I have to continue on the next, but that seems to be the problem. Any domain that is located in the second line is not recognized. I start that line with a blank space. Suggestions? |
All times are GMT -5. The time now is 02:40 AM. |