文系男子が日和るIT開発~IT知識なしで飛び込んだIT企業

文系男子だからIT企業に就職するなんて考えてもみませんでしたが、日和ながら日々くらいついています。

CentOS 6.8でpostfixのパッケージをインストール

postfixのパッケージをYUMでインストールします。

 

SMTPサーバとしては、sendmailqmailPostfixなどが有名かと思います。

ただ、sendmailはセキュリティ観点や処理性能面で劣ることもあり、採用は避けられている傾向にあるかと思います。

そこで

 

qmailが登場しましたが、qmailはセキュリティ面で安心な設計となっていますが、
sendmailの仕様や設計思想とは大きく異なり、sendmailからの移行が難しい状況に陥ってしまいました。

それに成り代わって採用されているのが、Postfixです。

Postfixは、sendmailとの互換性が高く、且つ、
設定や保守が比較的容易だと言われているMTA(Mail Transfer Agent)ですので、
今回は、このPostfixを入れてみたいと思います。

ただし、PostfixはMTAの機能に特化しているため、
メールサーバを構築する際には、
POPサーバやIMAPサーバが別途必要となります。

 

yum -y install postfix

 

[root@localhost ~]#
[root@localhost ~]# yum -y install postfix
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: download.nus.edu.sg
* epel: ftp.jaist.ac.jp
* extras: mirror.0x.sg
* remi-safe: mirror.innosol.asia
* updates: ftp.tsukuba.wide.ad.jp
Resolving Dependencies
--> Running transaction check
---> Package postfix.i686 2:2.6.6-6.el6_7.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=================================================================================================================================
Package Arch Version Repository Size
=================================================================================================================================
Installing:
postfix i686 2:2.6.6-6.el6_7.1 base 2.0 M

Transaction Summary
=================================================================================================================================
Install 1 Package(s)

Total download size: 2.0 M
Installed size: 9.3 M
Downloading Packages:
postfix-2.6.6-6.el6_7.1.i686.rpm | 2.0 MB 07:08
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : 2:postfix-2.6.6-6.el6_7.1.i686 1/1
Verifying : 2:postfix-2.6.6-6.el6_7.1.i686 1/1

Installed:
postfix.i686 2:2.6.6-6.el6_7.1

Complete!
[root@localhost ~]#

rpm -q postfix

 [root@localhost ~]# rpm -q postfix
postfix-2.6.6-6.el6_7.1.i686

 

 

今回は特に問題ありませんでした。

 

Postfix: The Definitive Guide

Postfix: The Definitive Guide

 

 

 

実践Postfixメールサーバー構築

実践Postfixメールサーバー構築