liebe Forenmitglieder. Ich habe auf meinem Debian 8 Dovecot und Roundcube installiert. Mit sämtlichen Clients gibt es bisher keine Probleme, nur mit dem Zugriff über Roundcube.
Man meldet sich ganz normal mit Benutzer und Passwort an, alles funktioniert, doch nach einer Weile wird man mit:
rausgeworfen.Serverfehler: AUTHENTICATE PLAIN: Authentication failed.
In user.log steht dazu:
per Debug konnte ich Dovecot noch folgendes entlocken:roundcube: <48g53mai> IMAP Error: Login failed for Username from xx.215.85.27. AUTHENTICATE PLAIN: Authentication failed. in /var/www/roundcube/program/lib/Roundcube/rcube_imap.php on line 197 (POST /roundcube/?_task=mail&_action=refresh?_task=&_action=)
in der local.conf von Dovecot habe ichdovecot: auth: Debug: client in: AUTH#0111#011PLAIN#011service=imap#011secured#011session=wacDFtIvawAAAAAAAAAAAAAAAAAAAAAB#011lip=::1#011rip=::1#011$
dovecot: auth-worker(27689): Debug: pam(richtiger Username,::1): lookup service=dovecot
dovecot: auth-worker(27689): Debug: pam(richtiger Username,::1): #1/1 style=1 msg=Password:
dovecot: auth-worker(27689): pam(richtiger Username,::1): pam_authenticate() failed: Authentication failure (password mismatch?)
dovecot: auth: Debug: client passdb out: FAIL#0111#011user=richtiger Username
dovecot: imap-login: Disconnected (auth failed, 1 attempts in 4 secs): user=<Username>, method=PLAIN, rip=::1, lip=::1, TLS, session=<T5AgTNAv6QAAAdAA$
dovecot: auth-worker(26387): pam(richtiger Username,::1): pam_authenticate() failed: Authentication failure (password mismatch?) (given password: richtiges Password)
und in der Roundcube config.inc.php
mail_location = maildir:~/Maildir
namespace inbox {
inbox = yes
}
service auth {
unix_listener /var/spool/postfix/private/auth {
mode = 0660
user = postfix
}
}
disable_plaintext_auth = no
postmaster_address = root@localhost
ssl = yes
ssl_cert = </etc/ssl/certs/ssl-cert-snakeoil.pem
ssl_key = </etc/ssl/private/ssl-cert-snakeoil.key
protocol lda {
# Space separated list of plugins to load (default is global mail_plugins).
mail_plugins = $mail_plugins sieve
}
## ManageSieve specific settings
service managesieve-login {
inet_listener sieve {
port = 4190
}
inet_listener sieve_deprecated {
port = 2000
}
service_count = 1
process_min_avail = 0
vsz_limit = 64M
}
protocol sieve {
managesieve_max_line_length = 65536
mail_max_userip_connections = 10
managesieve_logout_format = bytes=%i/%o
managesieve_implementation_string = Dovecot Pigeonhole
managesieve_max_compile_errors = 5
log_path=/var/log/sieve.log
info_log_path=/var/log/sieve.log
}
plugin {
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
Ich weiß schon nicht mehr, wo ich gucken soll. Jemand eine Idee, wenn ja, vielen Dank!// The mail host chosen to perform the log-in.
// Leave blank to show a textbox at login, give a list of hosts
// to display a pulldown menu or set one host as string.
// To use SSL/TLS connection, enter hostname with prefix ssl:// or tls://
// Supported replacement variables:
// %n - hostname ($_SERVER['SERVER_NAME'])
// %t - hostname without the first part
// %d - domain (http hostname $_SERVER['HTTP_HOST'] without the first part)
// %s - domain name after the '@' from e-mail address provided at login screen
// For example %n = mail.domain.tld, %t = domain.tld
$config['default_host'] = 'tls://localhost:143';
$config['imap_conn_options'] = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
),
);