どうも thunderbird 系で古巣の imap server に接続すると、フォルダを1,2個開いたくらいでコネクションが刺さったっきりになってその後ぜんぜん読めなくなると思ってたが、こいつ同時に5コネクションくらい張るのね。
それに対して imapd の方の設定がデフォルトだったのかなんだか知らないが、 maxperip=4 でぎりぎり引っかかっていたのを発見。修正したらさくさく通るようになったよ。
ちなみに courier-imapd を使用。なんでこれを選んだんだっけな? Maildir 使いたかったからかな?
[referer:
The script did not produce proper HTTP headers. Please see the error log to see the detail of the errors. Depending on the server configuration, you can also run thisscript under CGIWrap debugging. Usually, either rename or linkthe script temporarily to a file which ends with .cgidextension, or add a AddHandler cgi-script-debug .cgiline to your .htaccess file.
]