【レポート公開中!】アイレット・エンジニアが見た・聴いた「 Google Cloud Next '24」
前回、Postfix Adminを設定する(SMTP-AUTH/Postfix Admin設定編)が完了しましたので、今回はメールアカウント作成とDovecotの設定を行います。 アドレス一覧→アドレスの追加でメールアドレスの作成ができますので、今回はadmin@cimacoppi.biz(passwd:admin)を作成します。 メールアドレスが追加されると、下記にメールが送信されます。 /usr/local/virtual/ドメイン名/ [root@ip-10-146-9-24 new]# pwd /usr/local/virtual/cimacoppi.biz/admin@cimacoppi.biz/new [root@ip-10-146-9-24 new]# ls -l 合計 4 -rw------- 1 vuser vuser 659 8月 13 13:36 1313210196
Postfix Adminを設定する(MySQL/postfix/設定編)にてPostfixの設定が完了しましたので、次はSMTP-AUTH/Postfix Adminの設定を行います。 ・SMTP-AUTHの設定 yum install cyrus-sasl-sql yum install cyrus-sasl-plain yum install cyrus-sasl-md5 ・smtpd.confの修正 vi /usr/lib/sasl2/smtpd.conf pwcheck_method: auxprop auxprop_plugin: sql sql_engine: mysql sql_hostnames: localhost sql_user: postfix sql_passwd: postfixpasswd sql_database: postfix sql_select:
Postfix Adminを設定する(Postfix編)にてインストールが完了しましたので、今回は、MySQLとPostfixの設定を行います。 ・データベースとユーザ作成 CREATE DATABASE postfix; CREATE USER 'postfix'@'localhost' IDENTIFIED BY 'パスワード'; GRANT ALL PRIVILEGES ON `postfix` . * TO 'postfix'@'localhost'; ・main.cfの修正 vi /etc/postfix/main.cf] # ホスト名の設定 myhostname = mail.hogehoge.com # ドメイン名の設定 mydomain = hogehoge.com # メール送信の設定 myorigin = $myhostname # メール受信の設定 inet_inte
今回は、Postfixのインストール方法を紹介します。 yumからPostfixはインストールできますが、RPM版の場合、MySQLに対応していないため、 MySQLを有効にしてリビルドする必要があります。 インストール方法は下記となります。 cd /usr/local/src/ wget http://ftp.riken.go.jp/Linux/centos/5.6/os/SRPMS/postfix-2.3.3-2.1.el5_2.src.rpm mkdir -p /usr/src/redhat/SOURCES rpm -ihv postfix-2.3.3-2.src.rpm cd /usr/src/redhat/SOURCES ・Postfix(SRPM) VDAパッチダウンロード http://vda.sourceforge.net/VDA/postfix-2.3.3-vda.pat
バーチャルドメインの管理をGUIで行うツールとして、Postfix Adminがあります。 このPostfix Adminは、QmailAdminに比べると設定項目が多くなるので、少し手間がかかりますが、Postfixでバーチャルドメインを利用し、mailサーバを運用する場合は、非常に便利だと思います。 尚、Postfix Adminは、Postfix + Dovecot + MySQLで、動作します。 そして、今回利用するミドルウェアバージョンは、下記となります。 httpd :2.2.3 php :5.3.6 mysql :5.5.15 postfix:2.3.3-2.1 また、OSはCentOS 5.6となり、Postfix Adminのバージョンは2.3.3となります。 今回、前提条件としてhttpd PHP MySQLはインストール済みとします。 まず、事前準備としてユーザとディ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く