VDS Sphera Knowledge Base

Main / Browse Categories / Email & Sendmail / How do I create aliases so that info@mydomain.com goes to the POP account "user1" and info@mydomain2.com goes to the POP account & "user2"?

Print article Print Article    Email article Email Article

How do I create aliases so that info@mydomain.com goes to the POP account "user1" and info@mydomain2.com goes to the POP account & "user2"?
There are two ways that you can do this.

If you are fairly technical and can edit configuration files without a problem then you can do exactly what you want.

  1. Make sure there are 2 POP accounts already created that you want to route the e-mails to (i.e. user1, user2)
  2. Backup the "/etc/mail/virtusertable" file
  3. Open the "/etc/mail/virtusertable" file and at the end of the list, you will see something like this
    info@mydomain.com    user1
    info@mydomain2.com   user1
    
  4. Edit the "/etc/mail/virtusertable" file to read like this:
    info@mydomain.com    user1
    info@mydomain2.com   user2
    
  5. Save the file and run the command:
    makemap hash /etc/mail/virtusertable <virtusertable
    
  6. Send a test mail to each account and make sure they go in the correct POP account
If you are NOT technical and don't think you can do the above, then simply add aliases to the control panel that are slightly different. Something like info1/info2 or info_abc/info_xyz and point them to the different POP accounts. The difference here is that the control panel adds the alias to ALL domains on the VDS rather than just for one.

User Comments
How do I create aliases so that info@mydomain.com goes to the POP account "user1" and info@mydomain2.com goes to the POP account & "user2"?  
There are no user comments for this topic.
 

Attachments
No attachments.

Related Articles
 Can I change my MX records?
 Where is Sendmail located?
 How do I point MX Record to external mail server from VDS Control Panel
 What is the default email account for my VDS?
 How do I setup an autoresponder?

Why Choose Our Hosting?

  • Unmatched Customer Support!
  • Virtual Private Server technology provides a rich, dedicated-like environment for every account.
  • We are known for our superb quality, performance and flexible hosting environment. We manage the server, software, and network you do the rest.
Continue reading »

Featured Hosting Plan


Learn more about our VPS Extreme

What is Included?

  • PHP 5/MySQL 5
  • Parallels® Plesk Panel 10
  • Unique IP Address
  • Daily VPS Backups (Off Server)
  • SAS Hardware Raid diskspace
  • CentOS 5 x86_64 bit
  • Multi-homed Tier 1 Bandwidth
  • Full Upgrade capabilities
Continue reading »