Thanks Thomas that helped a lot auth problems now solved
I also had to change the dovecot.conf mail_location = mbox:~/mail:INBOX=/var/spool/mail/home/%u to mail_location = maildir:~/Maildir because I got too many permission errors - NOT sure if this is correct now for POP3-only mail without any imap ... still some other stuff to fix - like mail sent to me disappears etc :) and/or stays in mailq greetings hans On Fri, 2010-07-02 at 09:35 +0200, Thomas Leuxner wrote: > On Fri, Jul 02, 2010 at 06:30:21AM +0800, Hans Neukomm wrote: > > auth default: > > mechanisms: plain cram-md5 > > debug_passwords: yes > > passdb: > > driver: passwd-file > > args: /etc/dovecot/passwd > > userdb: > > driver: static > > args: uid=303 gid=303 home=/var/spool/mail/home/%u > > [snip] > > > my userdb file contains: > > > > hans myplaintext-password-here > > http://wiki.dovecot.org/AuthDatabase/PasswdFile > > [...] > If you want to enable u...@domain logins but have only "user" in the > file, set this to %n. > > passdb: > driver: passwd-file > args: username_format=%n /etc/dovecot/passwd > > Try that format and see if it helps. > > Regards > Thomas >
