How does the mail system work?

I create a domain, and if I want to create another user for mail, ftp and mysql, do I create a user or an alias?

Also on my system a letter gets sent out saying
pop3 server:

But when I try to reach that with the username and password I get :

----- The following addresses had permanent fatal errors -----
< user at>
(reason: 550[ user at>: Recipient address rejected: User unknown in virtual alias table)

----- Transcript of session follows -----
… while talking to
>>> DATA
<<< 550[ user at>: Recipient address rejected: User unknown in virtual alias table
550 5.1.1[ user at>… User unknown
<<< 554 Error: no valid recipients

I’ve replaced the domain name with x’s, so obviously Im not setting up new users to get mail because virtualmin or whatever program handles it, is bouncing back the mail as no valid recipients. I’ve also replaced the name with user.

Please detail how to setup a new user so that he can login via outlook or outlookexpress to get mail that is sent to him and more importantly, how to setup a new user so that he is recogonized by the server.

If I remove the mail. from the domain name, then I dont get an error that the connection was terminated in outlook express.

Since I can’t edit…

When I go to with a proper username and password I get the following in outlook express

The host ‘’ could not be found. Please verify that you have entered the server name correctly. Account: ‘’, Server: ‘’, Protocol: POP3, Port: 110, Secure(SSL): No, Socket Error: 11004, Error Number: 0x800CCC0D

real domain replaced with exampledomain for this post.


Do you have your windows box setup with the DNS server for your domain?

Kevin, IM not sure what you mean, the dns address’s on my windows laptop that I use for testing are set the dns address’s that my isp gave me for their dns servers. I only have one ip address, so I dont believe IM running my own DNS serverr.


If you did a normal install of virtualmin one of the things that it installs and setups is a DNS server. When you add a new virtual server this DNS server is update with the address and domain that was installed. This is part of runnning your own server. The IP address of DNS server is the IP address of the system that the server is running on. This is managed from the Bind module in webmin. On my test system which, is on a privite closed network I have to point my other systems at the DNS server to get all things to work right. In my setup I have the IP address of the DNS server of my network and the IP address DNS for my isp. This lets me work with the domains on the closed network and still use the internet through my isp. None of the domains that I am working with are allowed outside the privite network.

Take a look at the virtualmin administration manual it gives a good expalnation of the DNS.

I am sure that others on this list have greater knowlage about DNS than I. It is not one of my strong points yet!