Operating system CentOS Linux 5 Webmin version 1.410 Virtualmin version 3.56 (Pro)
Can't receive mail as mail sent to any user on the server gets a "User unknown in virtual alias table" error bounce.
Here is an example.
Create a virtual server called example.com Administration username of admin
Add a mail user named bob
Try to send bob an email at firstname.lastname@example.org Get an error
Confirm bob has been added to the /etc/postfix/virtual file email@example.com bob.example
This is the error that is logged: May 19 18:00:56 vps postfix/smtpd: NOQUEUE: reject: RCPT from wa-out-1112.google.com[18.104.22.168]: 550 5.1.1 <firstname.lastname@example.org>: Recipient address rejected: User unknown in virtual alias table; from=<email@example.com> to=<firstname.lastname@example.org> proto=ESMTP helo=<wa-out-1112.google.com>
Then it gets stranger :)
If I try to send an email to email@example.com I get a bounce and this error is logged: May 19 18:44:24 vps postfix/error: 1A9DA5A086A4: to=<admin@MyVPSDomain.net>, orig_to=<firstname.lastname@example.org>, relay=none, delay=0.28, delays=0.23/0.02/0/0.03, dsn=5.0.0, status=bounced (User unknown in virtual alias table)
Confirm admin has been added to the /etc/postfix/virtual file email@example.com admin
so it looks like it is trying to map mail for the virtual server's admin to the wrong domain
MX comes up fine in a DNS lookup: ;; ANSWER SECTION: example.com. 19249 IN MX 5 mail.example.com.
In Webmin under Network Configuration/Hostname and DNS Client I have my DNS server IP as well as 127.0.0.1
All http and mysql services are working fine.
Of course example.com has been substituted in the info above for the real domain of my virtual server.
What can I do to fix the email issue?<br><br>Post edited by: velvetpixel, at: 2008/05/19 17:11