Virtual email really means to setup a server to receive email from multiple domains
and deliver it to single end users or user groups who are associated with those domains.
Example:
We could configure the server to receive email to the following domain:
bogus25.com
Then, we would set up users who are to receive this email on the local system.
Steve
Chris
Tina
Those three users are associated with the above domains in different ways. Lets give
each person a responsibility......
sales@bogus25.com
chris@bogus25.com
@bogus25.com
Step 1
Add the users you wish to have email services to your server Give username and password.
In our example above, the command sequence would be:
adduser chris
passwd chris
adduser tina
passwd tina
adduser steve
passwd steve
Step 2
Open webmin (sendmail.cw) Add the domain: bogus25.com
to this file.
Edit /etc/mail/virtusertable
Add the following email address to username map to this file:
sales@bogus25.com steve
chris@bogus25.com chris
@bogus25.com tina
Have someone or send yourself some test emails to you at the new accounts.
Another thing to check... All mail is stored inside /var/spool/mail.
Any user receiving
mail should have a file inside that directory named the same as their username.
Are the files there? Are they 0 filesize? When you send test messages to the domains,
do the files grow? To watch the mail as it arrives, you may use the following command:
tail -f /var/spool/mail /username
(again with this command, press ctrl-c to stop)
To add more domains, repeat the following steps appending new information to each file.