Am 15.06.2015 um 18:59 schrieb Steve Matzura:
On Mon, 15 Jun 2015 17:22:13 +0200, you wrote:
Now, when I telnet 127.0.0.1 143 and attempt to log in with the string:
a login <any username> <any password>
whether it's one in my users file or not, I get:
a NO [AUTHENTICATIONFAILED] Authentication failed.
Logs might give you a clue what exactly doesn't work.
Found one problem in maillog. mail_uid and mail_gid weren't defined. I didn't define them manually because I thought they defaulted to vmail. Now they are defined that way.
These are a mystery:
Jun 15 16:45:15 <my-node> dovecot: imap-login: Login: user=<admin>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=1428, secured, session=
Jun 15 16:45:15 <my-node> dovecot: imap(admin): Error: User initialization failed: Namespace '': Mail storage autodetection failed with home=/home/admin Jun 15 16:45:15 <my-node> dovecot: imap(admin): Error: Invalid user settings. Refer to server log for more information. ~doveadm log find' says everything goes to /var/log/maillog, so that's all I have.
Try adding a default mail_location.
userdb { driver = passwd-file args = username_format=%u /etc/dovecot/users default_fields = mail=maildir:~/Maildir }
-- Alex JOST