フォーラム一覧 - トピック一覧 サーバー構築
Fedora9 Postfix smtpd_scache.dbの場所は? |
| スレッド表示 | 古いものから | 前のトピック | 次のトピック | 下へ |
| 投稿者 | トピック |
|---|---|
| Bic | 投稿日時: 2008-05-27 |
モデレータ ![]()
|
Re: Fedora9 Postfix smtpd_scache.dbの場所は?
【 追記 2008-05-27 】 上記の記述は正しかった!?
TLS_README The Postfix SMTP server and the remote SMTP client negotiate a session, which takes some computer time and network bandwidth. By default, this session information is cached only in the smtpd(8) process actually using this session and is lost when the process terminates. To share the session information between multiple smtpd(8) processes, a persistent session cache can be used. You can specify any database type that can store objects of several kbytes and that supports the sequence operator. DBM databases are not suitable because they can only store small objects. The cache is maintained by the tlsmgr(8) process, so there is no problem with concurrent access. Session caching is highly recommended, because the cost of repeatedly negotiating TLS session keys is high. Example: /etc/postfix/main.cf: smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_scache |
| Bic | 投稿日時: 2008-05-24 |
モデレータ ![]()
|
Fedora9 Postfix smtpd_scache.dbの場所は?
ログに次の warning が残っていた
May 24 00:00:00 fedora postfix/tlsmgr[****]: warning: request to update table btree:/etc/postfix/smtpd_scache in non-postfix directory /etc/postfix May 24 00:00:00 fedora postfix/tlsmgr[****]: warning: redirecting the request to postfix-owned data_directory /var/lib/postfixsmtpd_tls_session_cache_database = btree:/etc/postfix/smtpd_scache postfix のバージョンは 2.5.1 (yum によりインストールしたのでパッケージ名は postfix-2.5.1-2.fc9.i386) このログに相当する main.cf の箇所は smtpd_tls_session_cache_database = btree:/etc/postfix/smtpd_scache これはSSL通信のために記述したもの Fedora8 までは Postfix のインストール時に /etc/postfix/smtpd_scache.db があったハズだが今回は確かにない そこで中身の空だった /var/lib/postfix/ を覗いてみると prng_exch smtpd_scache.db が出来ていた まだ ドキュメント を読んではいないが main.cf を smtpd_tls_session_cache_database = btree:/etc/postfix/smtpd_scache ↓ smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_scache に変更し warning が出ないことを確認した |
| スレッド表示 | 古いものから | 前のトピック | 次のトピック | トップ |
