Edit Postfix Virtual Config
We will using this file to map all postfix user and mailboxBut, before we start to map a postfix virtual file, We need to create user testing and testing1 from yast.
Create user "testing" and "testing1" with Yast
yast
- security and users
- edit and create users
- add
- create the users
Example :
Create user "testing "
You can just repeat the steps to create user "testing1"
Note :
Below are the example how to map 2 user to each domains.
testing user will map to testing@domain2.com mailbox account
testing1 user will map to testing1@domain1.com mailbox account.
Postfix Virtual Config File
cd /etc/postfix
vi virtual
### postfix virtual file ###
domain1.com virtual
testing1@domain1.com testing1
<enter>
<enter>
domain2.com virtual
testing@domain2.com testing