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 bob@example.com
Get an error
Confirm bob has been added to the /etc/postfix/virtual file
bob@example.com bob.example
This is the error that is logged:
May 19 18:00:56 vps postfix/smtpd[7654]: NOQUEUE: reject: RCPT from wa-out-1112.google.com[209.85.146.177]: 550 5.1.1 <bob.example@example.com>: Recipient address rejected: User unknown in virtual alias table; from=<me@gmail.com> to=<bob.example@example.com> proto=ESMTP helo=<wa-out-1112.google.com>
Then it gets stranger
If I try to send an email to admin@example.com I get a bounce and this error is logged:
May 19 18:44:24 vps postfix/error[24549]: 1A9DA5A086A4: to=<admin@MyVPSDomain.net>, orig_to=<admin@example.com>, 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
admin@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