dovecotがpostfixからデータを受け取ってくれない。
理由は知らない。
エラーを無くすようにと修正している。
が、エラーは無くならない。
|
1 2 3 4 |
Mar 20 11:12:59 imap(admin)<7629><NNJOd0v33tPAqAAk>: Debug: acl: No acl setting - ACLs are disabled Mar 20 11:12:59 imap(admin)<7629><NNJOd0v33tPAqAAk>: Debug: quota: No quota setting - plugin disabled Mar 20 11:12:59 imap(admin)<7629><NNJOd0v33tPAqAAk>: Debug: open(/proc/self/stat) failed: No such file or directory Mar 20 11:12:59 imap(admin)<7629><NNJOd0v33tPAqAAk>: Debug: open(/proc/self/io) failed: No such file or directory |
幾ら何でも〜、ちっとも減らないって何?
opensslで外部から確認してみた。
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
openssl s_client -starttls smtp -connect mail.k-in.co.jp:587 CONNECTED(00000005) Didn't find STARTTLS in server response, trying anyway... 80762645F87F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:355: --- no peer certificate available --- No client certificate CA names sent --- SSL handshake has read 220 bytes and written 350 bytes Verification: OK --- New, (NONE), Cipher is (NONE) This TLS version forbids renegotiation. Compression: NONE Expansion: NONE No ALPN negotiated Early data was not sent Verify return code: 0 (ok) --- |
あちこち調べてみるとdovecot側とopenssl側の連携が取れていない?それとも、クライアントとサーバー側の性格の不一致?……よく判らん。
つまり、何が悪いんだか判らない。
サーバー側の所為かとログを見たらこんなんなっていた。
|
1 2 3 4 5 6 7 8 9 10 11 |
Mar 23 10:16:41 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Mailbox opened Mar 23 10:17:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Mailbox opened Mar 23 10:17:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Couldn't open mailbox in list index: Mailbox not found Mar 23 10:17:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Couldn't open mailbox in list index: Mailbox not found Mar 23 10:17:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox shared/%u: Couldn't open mailbox in list index: Mailbox not found Mar 23 10:22:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Mailbox opened Mar 23 10:27:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Mailbox opened Mar 23 10:27:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Couldn't open mailbox in list index: Mailbox not found Mar 23 10:27:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Couldn't open mailbox in list index: Mailbox not found Mar 23 10:27:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox shared/%u: Couldn't open mailbox in list index: Mailbox not found Mar 23 10:32:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Mailbox opened |
何だ、自動で作ってはくれないのか?
動作が複雑すぎて理解できんわ。
なので、今まで使っていたServer.appの設定を極力踏襲しようと試みてみる。
mailbox形式ではなく、maildirに変更し、再起動してみる。
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
Mar 23 10:16:41 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Mailbox opened Mar 23 10:17:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Mailbox opened Mar 23 10:17:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Couldn't open mailbox in list index: Mailbox not found Mar 23 10:17:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Couldn't open mailbox in list index: Mailbox not found Mar 23 10:17:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox shared/%u: Couldn't open mailbox in list index: Mailbox not found Mar 23 10:22:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Mailbox opened Mar 23 10:27:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Mailbox opened Mar 23 10:27:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Couldn't open mailbox in list index: Mailbox not found Mar 23 10:27:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Couldn't open mailbox in list index: Mailbox not found Mar 23 10:27:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox shared/%u: Couldn't open mailbox in list index: Mailbox not found Mar 23 10:32:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Mailbox opened Mar 23 10:37:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Mailbox opened Mar 23 10:42:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Mailbox opened Mar 23 10:42:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Couldn't open mailbox in list index: Mailbox not found Mar 23 10:42:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Couldn't open mailbox in list index: Mailbox not found Mar 23 10:42:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox shared/%u: Couldn't open mailbox in list index: Mailbox not found Mar 23 10:47:52 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: Mailbox INBOX: Mailbox opened Mar 23 10:51:45 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: User session is finished Mar 23 10:51:45 imap(admin)<48499><9yM4I4P3CejAqAAk>: Debug: dict(file): dict destroyed |
………増えたがな(涙)
直したのは10-mail.confと90-plugins.confのpath部分。
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
mail_location = maildir:/Volumes/Works/Library/mail/data/%u namespace acl-mailboxes { type = shared #separator = . separator = / # Mailboxes are visible under "shared/user@domain/" # %%n, %%d and %%u are expanded to the destination user. prefix = shared/%%u/ #prefix = shared.%%u. # Mail location for other users' mailboxes. Note that %variables and ~/ # expands to the logged in user's data. %%n, %%d, %%u and %%h expand to the # destination user's data. #location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u location = maildir:/Volumes/Works/Library/mail/data/%%u:INDEX=/Volumes/Works/Library/mail/shared/%%u # Use the default namespace for saving subscriptions. subscriptions = no # List the shared/ namespace only if there are visible shared mailboxes. list = children # List the shared/ namespace only if there are visible shared mailboxes. list = children } # shared namespace configuration namespace list-archives { type = shared separator = . prefix = archives.%%u. location = maildir:/Volumes/Works/Library/data/listserver/messages/archive/lists/%%u:INDEX=/Volumes/Works/Library/mail/data/listserver/messages/archive/shared/%%u subscriptions = no list = children } |
|
1 2 3 4 5 |
plugin { #setting_name = value sieve = /Volumes/Works/Library/mail/dovecot/data/%n/dovecot.sieve sieve_dir = /Volumes/Works/Library/mail/dovecot/data/rules/%n } |
こうしたら先程まで出ていたエラー“Debug: Mailbox INBOX: Couldn’t open mailbox in list index: Mailbox not found”が消えたようだ。(まだ判らん……違うかも知れん)


