Virtual user table entries (also called “virtmaps”) can be managed either from the command line or by using the VAdmin Web interface. This section will focus on managing virtmaps from the command line. For additional information on using VAdmin to manage virtmaps aliases, consult the VAdmin section of this guide.
To create an entry in the virtual user table from the command line, follow the steps below:
Open a Telnet or SSH session to your Freedom account.
Go to your Freedom server's /etc/mail directory by typing the following at the command prompt:
> cd /etc/mail
Open the virtusertable file in the pico editor by typing the following at the command prompt:
> pico virtusertable
Use your arrow keys to move to the end of the file and add a line similar to this:
name@yourdomain.com destination
Replace yourdomain.com with the domain name of your Freedom account. The name can be any name you choose. The destination can be an email account, an alias, or another virtusertable entry on your Freedom account, or the complete email address of a user that is not located on your Freedom account. You should not use a domain name in the destination if the destination user is located on your own Freedom account.
Note that, unlike the aliases file, you do not use a colon to separate the name from the destination. Instead you use a space or a tab. There are correct examples of virtusertable entries in your virtusertable file itself, which are commented out with a # sign.
Exit the pico editor, saving the changes you made to the virtusertable file.
Enter the following at the command prompt:
> mailctl restart
The mailctl restart command loads the new entries into the virtusertable database. New entries in your virtusertable file will not take effect until you run this command.