トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS


追加予定内容

  • Restrictionsの設定
  • Greylistingの導入(PostfixではPostgreyが有名?)
  • プライベートIPアドレスの隠蔽
    header_checksを利用する。

Tips

  • PostfixのVersion表示
    # postconf -d mail_version
    mail_version = 2.1.3
  • Postfixの現行設定情報
    # postconf
  • Postfixのカスタマイズ設定情報
    # postconf -n

Install方法

ソフトウェア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です。


  • インストール ()
  • 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

正規表現

http://www.kobitosan.net/postfix/origdocs/regexp.html


参考文献
[1] http://www.postfix.org/
[2] http://www.kobitosan.net/postfix/

Counter: 2504, today: 1, yesterday: 0