Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Postfix aliases
PostPosted: Thu Jul 07, 2011 12:55 am 
Offline
Newbie

Joined: Wed Jul 06, 2011 7:47 pm
Posts: 4
I'd like to have several email addresses redirected to a single one (same domain). For example:
Code:
first@domain.com
        |________________________third@domain.com
        |
second@domain.com

First, second and third are NOT system users. I have done these kind of aliases before but I... I... I'm not that smart.

Help will be greatly appreciated.


Top
   
 Post subject:
PostPosted: Thu Jul 07, 2011 4:42 am 
Offline
Senior Member

Joined: Sun Aug 31, 2008 4:29 pm
Posts: 177
How it's done will depend on the mail software you're using. For example, if you're using Postfix, and third@domain.com is a system user account (username: third), then you'd put something like this in /etc/postfix/virtual:

Code:
domain.com   domain.com
first@domain.com   third@domain.com
second@domain.com   third@domain.com
third@domain.com   third


And then run the command:

Code:
[root@server] postmap virtual


To rebuild the lookup table db (virtual.db).

_________________
sleddog


Top
   
 Post subject:
PostPosted: Thu Jul 07, 2011 6:29 pm 
Offline
Newbie

Joined: Wed Jul 06, 2011 7:47 pm
Posts: 4
In deed, I am using Postfix/Dovecot/MYSQL. I do not have "third" as a system user, so I skipped the last line of your instructions with no results.

Do I need to have "first" and "second" on the database? "third" too?

Thank you in advance!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group