postfixからdovecotにデータが渡っていない(mailboxが空)ようなので、dovecotのエラーを見ながらconfig filesを修正をする。
初っ端からエラーが出ていた。(つまり、まともに動いていなかったと云う訳だ)
|
1 2 |
Feb 17 14:12:15 imap(foopa)<32886><DuBUW970v/fAqAAk>: Error: namespace configura tion error: All list=yes namespaces must use the same separator |
このエラーはCentOS のアップデートでDovecotに不具合発生で見るとdovecot/con.d/15-mailboxes.confにinbox=yesを追加するそうだ。
早速修正する。
次は、こうなった。
|
1 |
Feb 17 14:18:42 imap-login: Error: master(imap): read() failed: Remote closed connection (destination service { process_limit } reached?) (client-pid=59996, client-id=1, rip=192.168.0.36, created 1160 msecs ago, received 0/4 bytes) |
フォーラムにDovecot – error messagesと同様な問題が出ていて、cons.dに99-imap-login.confを作って下記のように書き込めばいいよ。と有ったので、その通りにしてみた。
|
1 2 3 4 |
service imap-login { process_limit = 200 process_min_avail = 16 } |
結果、変わらず。
次に見つけたのが「Error: namespace configuration error: inbox=yes namespace missing」の対処方法
無意味だった99-imap-login.confと、ここで挙げられている15-mailboxes.confをrenameしてみる。
すると素敵にエラーが増えた。(わ〜〜い(涙))
|
1 2 |
Feb 17 14:57:47 imap-login: Error: conn unix:stats-writer (uid=0): Timeout waiting for handshake response Feb 17 14:57:48 master: Error: unlink(/opt/local/var/run/dovecot/master.pid) failed: No such file or directory (in main.c:590) |
探しに探した結果、構築中のサーバーと古い方のサーバーのcoveconfを出力し、diffをとって違いを見てみる。すると構築中の方はmail_locationのパスと、namespace内のlocationを二重に定義していて、且つ、異なっていた。(何やっているんだか……(sigh))
でも、一応はエラーが出なくなった?……否、在る、只管出ている。
余りのログの量の多さに(debug optionを付けている)lessでサーチ出来ない(^_^;;
細かく調べる前に、logrotateに追加することにした。(涙)
続きは今度にしよう。

