アプリ版:「スタンプのみでお礼する」機能のリリースについて

たびたび申し訳ありません。

先日、こちらで別のことで質問させていただき解決することはできたのですが、

■前回質問内容
http://oshiete.goo.ne.jp/qa/7758038.html

では、送受信が thinderbird では可能になったのですが、windows live mail で認証がとおりませんでした。

それから、設定を変更したのですが、それからというもの、認証が通りません。

変更点

CRAM-MD5 から PLAIN に変更

conf.d/auth-passwdfile.conf.ext に
passdb {
driver = passwd-file
args = scheme=CRAM-MD5 username_format=%u /etc/dovecot/passwd
}

と書いていたものを

args = の一行を

args = scheme=PLAIN username_format=%u /etc/dovecot/passwd

にしています。

--------------------------------------------
▼直近の maillog
--------------------------------------------

Oct 22 16:38:24 www0000ug(仮) dovecot: master: Error: service(auth): command startup failed, throttling
Oct 22 16:38:24 www0000ug(仮) dovecot: log: Error: service(auth): child 2527 returned error 89 (Fatal failure)
Oct 22 16:38:42 www0000ug(仮) dovecot: pop3-login: Disconnected: Inactivity (no auth attempts): rip=58.191.178.163, lip=xxx.xxx.xxx.xxx
Oct 22 16:38:44 www0000ug(仮) postfix/anvil[2521]: statistics: max connection rate 2/60s for (submission:xxx.xxx.xxx.xxx) at Oct 22 16:35:24
Oct 22 16:38:44 www0000ug(仮) postfix/anvil[2521]: statistics: max connection count 2 for (submission:xxx.xxx.xxx.xxx) at Oct 22 16:35:24
Oct 22 16:38:44 www0000ug(仮) postfix/anvil[2521]: statistics: max cache size 2 at Oct 22 16:35:24
Oct 22 16:38:54 www0000ug(仮) dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=2526, input bytes=0
Oct 22 16:39:24 www0000ug(仮) dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=2526, input bytes=0
Oct 22 16:39:24 www0000ug(仮) dovecot: auth: Error: passwd-file /etc/dovecot/passwd: open(/etc/dovecot/passwd) failed: Permission denied (euid=97(dovecot) egid=97(dovecot) missing +r perm: /etc/dovecot/passwd, euid is not dir owner)
Oct 22 16:39:24 www0000ug(仮) dovecot: master: Error: service(auth): command startup failed, throttling
Oct 22 16:39:24 www0000ug(仮) dovecot: log: Error: service(auth): child 2530 returned error 89 (Fatal failure)
Oct 22 16:39:59 www0000ug(仮) dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=2526, input bytes=0
Oct 22 16:40:15 www0000ug(仮) dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=2531, input bytes=0
Oct 22 16:40:24 www0000ug(仮) dovecot: auth: Error: passwd-file /etc/dovecot/passwd: open(/etc/dovecot/passwd) failed: Permission denied (euid=97(dovecot) egid=97(dovecot) missing +r perm: /etc/dovecot/passwd, euid is not dir owner)
Oct 22 16:40:24 www0000ug(仮) dovecot: master: Error: service(auth): command startup failed, throttling
Oct 22 16:40:24 www0000ug(仮) dovecot: log: Error: service(auth): child 2534 returned error 89 (Fatal failure)
Oct 22 16:40:45 www0000ug(仮) dovecot: pop3-login: Disconnected: Inactivity (no auth attempts): rip=58.191.178.163, lip=xxx.xxx.xxx.xxx
Oct 22 16:40:54 www0000ug(仮) dovecot: pop3-login: Error: Timeout waiting for handshake from auth server. my pid=2531, input bytes=0

以上になりますが、ご教授いただければ幸いです。

どうぞよろしくお願い致します。

A 回答 (2件)

-rw------- 1 root root 123 10月 22 16:56 2012 /etc/dovecot/passwd



rootしか読み書きできません。
ということで、dovecotユーザーに読み込みできる権限がありませんので「Permission denied」となります。

エラーメッセージでは「dovecotユーザー(またはdovecotグループ)で読み込みできるように権限を付与して下さい」と言っています。
# または/etc/dovecot/passwdのオーナーをdovecotとする…ですかね。
/etc/dovecotディレクトリ自体のオーナーなどが影響する場合もありますのでご注意を……。

chown dovecot:dovecot /etc/dovecot/passwd
とするか…
chmod o+r /etc/dovecot/passwd
とするか……(だれでもパスワードファイルが読めると言うステキ セキュリティになりますけどね)
chgrp dovecot /etc/dovecot/passwd
chmod g+r /etc/dovecot/passwd
として、ファイルのグループを変更して、グループに読み込み権限を付けるとか。

まぁ、順当なのはオーナーの変更でしょうけどね……。

# オーナー変更してもエラーになる場合は…SELinux関係を疑いますかね……。
    • good
    • 0

windows live mailは使っていないので、そちらが問題なのか…は不明ですが……



>Oct 22 16:39:24 www0000ug(仮) dovecot: auth: Error: passwd-file /etc/dovecot/passwd: open(/etc/dovecot/passwd) failed: Permission denied (euid=97(dovecot) egid=97(dovecot) missing +r perm: /etc/dovecot/passwd, euid is not dir owner)
が、何を言っているか理解する気はありますか?

ls -l /etc/dovecot/passwd
したらどう表示されますか?

>conf.d/auth-passwdfile.conf.ext に

拡張子、extのままで読み込んでくれるんですかね?
    • good
    • 0
この回答へのお礼

ご連絡遅くなってもうしわけありません。

あきらめて、GoogleApps を利用してメールサーバを使用しておりご回答いただいていたにも気づかず。。。

ls -l /etc/dovecot/passwd

-rw------- 1 root root 123 10月 22 16:56 2012 /etc/dovecot/passwd

と表示されていました。


ほんとうにおそくなりすみません。

お礼日時:2012/11/06 10:42

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!