#contents
***追加予定内容 [#o84a39f0]
-Restrictionsの設定
-Greylistingの導入(PostfixではPostgreyが有名?)
-プライベートIPアドレスの隠蔽
[[header_checks>Installmemo/Postfix/header_checks]]を利用する。
***Tips [#q5ebaf4c]
-PostfixのVersion表示
# postconf -d mail_version
mail_version = 2.1.3
-Postfixの現行設定情報
# postconf
-Postfixのカスタマイズ設定情報
# postconf -n
***Install方法 [#v7bd331d]
|RIGHT:100|LEFT:410|c
|~ソフトウェア|Postfix Version 1.1 Patchlevel 12|
|~ |Postfix Version 2.0 Patchlevel 18|
|~ |Postfix Version 2.1 Patchlevel 1|
|~ |Postfix Version 2.1 Patchlevel 5|
|~OS(作業日)|Vine Linux 2.1.5|
|~ |AIX 4.3.3 ML09 / AIX 5.1 ML02 2002/11/27|
|~ |AIX 5.1 ML05|
|~ |AIX 5.1 ML06 (2004/09/30)|
|~ |RedHat Linux AS 2.1|
|~マシン |PC/AT|
|~ |ThinkPad 570E|
|~ |RS/6000 44P-170|
|~ |RS/6000 7044-270|
|~ |xSerires x235|
|~ドキュメント |2002/11/27 001|
-----------------------------------------------------------------------------
Sendmail互換のMTAです。
-----------------------------------------------------------------------------
- 用意したもの
ftp://postfix.get7.biz/postfix/official/postfix-1.1.12.tar.gz
ftp://postfix.get7.biz/postfix/official/postfix-2.1.1.tar.gz
- インストール ()
-- PostfixのBuild
--- gccでコンパイルする場合
% make -f Makefile.init makefiles
% make
--- C for AIXでコンパイルする場合
% make CC=xlc -f Makefile.init makefiles
% make
--- 旧sendmail関連ファイルの待避
mv /usr/sbin/sendmail /usr/sbin/sendmail.OFF
mv /usr/sbin/newaliases /usr/sbin/newaliases.OFF
mv /usr/sbin/mailq /usr/sbin/mailq.OFF
--- create user for postfix
ユーザーの追加
user:postfix UID=150 GID=mail
グループの追加
group:postdrop GID=160
--- install of postfix
# make install (interactive version, first time install)
or
# make upgrade (non-interactive version, for upgrades)
[[Installmemo/Postfix/installlog]]
-導入後の微調整
# mv *_README /etc/postfix/readme
# ln -s /usr/lib/sendmail ../../usr/sbin/sendmail
- chrootでの稼働設定
# sh LINUX2
postfix: warning: My hostname xxxxxxx01 is not a fully qualified name - set myho\
stname or mydomain in /etc/postfix/main.cf
postfix/postfix-script: warning: My hostname xxxxxxx01 is not a fully qualified \
name - set myhostname or mydomain in /etc/postfix/main.cf
postfix/postfix-script: refreshing the Postfix mail system
postsuper: warning: My hostname xxxxxxx01 is not a fully qualified name - set my\
hostname or mydomain in /etc/postfix/main.cf
- transportmap
# postmap hash:/etc/postfix/transport
***正規表現 [#tda01166]
http://www.kobitosan.net/postfix/origdocs/regexp.html
----
参考文献
[1] http://www.postfix.org/
[2] http://www.kobitosan.net/postfix/
#counter