この章を始める前に下記の設定が必要です
「Postfix Dovecot インストール」
ヒント
追加するドメイン名:example.com システムアカウント:user_name メールアドレス :user_name@example.com
[root@centos ~]# vi /etc/postfix/main.cf[root@centos ~]# vi /etc/postfix/virtual↓最終行に下記を記入 # Virtual configuration virtual_alias_maps = hash:/etc/postfix/virtual
[root@centos ~]# postmap /etc/postfix/virtual [root@centos ~]# /etc/rc.d/init.d/postfix reload↓最終行に下記を記入 example.com anything user_name@example.com user_name
ヒント
/etc/postfix/virtualの1行目左はドメイン名、右は慣習としてanythingを記入。 /etc/postfix/virtualの2行目左はメールアドレス、右はシステムのユーザー名を記入。