/etc/postfix/main.cf に以下の1行を追加virtual_alias_maps = hash:/etc/postfix/virtual以下の行を修正mydestination = メインドメイン, localhost.localdomain, localhost ここにバーチャルドメインを設定するとエラーになるので注意!
/etc/postfix/virtualにバーチャルドメインのアカウントとUNIXアカウントの対応を設定。バーチャルドメイン1 anythingroot@バーチャルドメイン1 rootユーザ1@バーチャルドメイン1 ユーザ1バーチャルドメイン2 anythingroot@バーチャルドメイン2 rootユーザ2@バーチャルドメイン2 ユーザ2
設定反映postmap /etc/postfix/virtual/etc/init.d/postfix reload