Postfixは疲れたので、Dovecotを見直すことにする。
この分だと数ヶ月掛かりそう。
Dovecotの認証をpasswdfileに限定することにした。
理由は簡単。
動けば正義だから!
今まではsql認証のdatabaseが見当たらない。と言われ続けていた。
ならば、使わん。
使うのはpassword file。簡単にできるとあちこちに書いてある。
username:{PLAIN}password
だけで良いらしい。
で、やってみた。
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
passdb { args = /opt/local/etc/dovecot/users auth_verbose = default default_fields = deny = no driver = passwd-file master = no mechanisms = name = override_fields = pass = no result_failure = continue result_internalfail = continue result_success = return-ok skip = never username_filter = } |
こうなった。
|
1 2 3 |
Oct 26 20:57:48 auth: Error: passwd-file /opt/local/etc/dovecot/users:User admin is missing userdb info Oct 26 20:57:48 auth: Error: passwd-file /opt/local/etc/dovecot/users:User support is missing userdb info Oct 26 20:57:48 auth: Error: passwd-file /opt/local/etc/dovecot/users:User foopa is missing userdb info |
ダメじゃん(涙)
|
1 |
Oct 26 21:15:54 imap-login: Info: Login: user=<support>, method=PLAIN, rip=192.168.0.35, lip=192.168.0.35, mpid=51642, TLS |
あ、、、入れた(びっくり!

