Linode Forum
https://forum.linode.com/

Postfix aliases
https://forum.linode.com/viewtopic.php?f=11&t=7370
Page 1 of 1

Author:  fabian [ Thu Jul 07, 2011 12:55 am ]
Post subject:  Postfix aliases

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.

Author:  sleddog [ Thu Jul 07, 2011 4:42 am ]
Post subject: 

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).

Author:  fabian [ Thu Jul 07, 2011 6:29 pm ]
Post subject: 

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!

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/