インストール後すぐには、postfixが使える状態ではない。 まずは、smtpは、postfixを使うことを宣言しないと、いけない。そこで、以下のコマンドを入力するし、posfixを指定する。 #update-alternatives –config mta 2 プログラムがあり ‘mta’を提供します。 選択 コマンド ———————————————– *+ 1 /usr/sbin/sendmail.sendmail 2 /usr/sbin/sendmail.postfix Enterを押して現在の選択[+]を保持するか、選択番号を入力します: 2 次は、conf ファイルの設定。 #vi /etc/postfix/main.cf 以下のように変更 --------ここから-------------- myhostname = あなたのサーバー名 mydomain = あなたのドメイン名 mydomain = $mydomain inet_interfaces = all #inet_interfaces = $myhostname #inet_interfaces = $myhostname, localhost #inet_interfaces = localhost #mydestination = $myhostname, localhost.$mydomain, localhost mydestination = $myhostname, localhost.$mydomain, [...]