[Dovecot] Simple authentication problem

Pascal Volk user+dovecot at localhost.localdomain.org
Sat Mar 6 04:06:56 EET 2010


On 03/06/2010 01:39 AM David Ramsey wrote:
> I'm trying to configure dovecot on a SUSE system, and having trouble with the simplest possible authentication scheme: using the standard Linux users and passwords.
> 
> My configuration is:
> 
> dovecot -n
> # 1.1.7: /etc/dovecot/dovecot.conf
> # OS: Linux 2.6.27.45-0.1-pae i686 openSUSE 11.1 (i586) 
> protocols: imap pop3
> ssl_listen: *
> ssl_disable: yes
> disable_plaintext_auth: no
> login_dir: /var/run/dovecot/login
> login_executable(default): /usr/lib/dovecot/imap-login
> login_executable(imap): /usr/lib/dovecot/imap-login
> login_executable(pop3): /usr/lib/dovecot/pop3-login
> mail_executable(default): /usr/lib/dovecot/imap
> mail_executable(imap): /usr/lib/dovecot/imap
> mail_executable(pop3): /usr/lib/dovecot/pop3
> mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
> mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
> mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
> auth default:
>   default_realm: renomustangcarclub.com
>   passdb:
>     driver: pam
>   userdb:
>     driver: passwd
> 
> Attempts to log in:
> 
> 99-26-248-100:~ dramsey$ telnet renomustangcarclub.com pop3
> Trying 99.26.248.108...
> Connected to renomustangcarclub.com.
> Escape character is '^]'.
> +OK Dovecot ready.
> user dramsey
> +OK
> pass raskin
> -ERR Authentication failed.
> 
> Looking in the mail log file:
> 
> Mar  5 16:40:55 Microstar dovecot: pop3-login: Disconnected (auth failed, 1 attempts): user=<dramsey at renomustangcarclub.com>, method=PLAIN, rip=99.26.248.100, lip=99.26.248.108
> 
> Any ideas?

grep dramsey at renomustangcarclub.com /etc/passwd will produce no output.
Why do you set a default_realm?


Regards,
Pascal
-- 
The trapper recommends today: c01dcafe.1006503 at localdomain.org


More information about the dovecot mailing list