Hallo,
Ich versuche inzwischen seit einigen Tagen das Problem zu lösen.
Ich habe mich auch schon durch sämtliche manuals gewälst, jedoch die Lösung nicht gefunden.
Ich nutze Gentoo, Egroupware 1.4 (Mysql), postfix und dovecot.
Egroupware funktioniert auch, ich kann mich dort einloggen.
Wenn ich aber mit FeLaMiMail auf den IMAP von dovecot verbinden will gibt es jedesmal einen fehler.
Hier die relevanten Configs, sollte was fehlen bitte bescheid geben:
dovecot.conf
Dovecot configuration file
protocols = imap imaps
log_timestamp = .%Y-%m-%d %H:%M:%S .
syslog_facility = mail
mail_privileged_group = mail
disable_plaintext_auth = yes
first_valid_uid = 500
last_valid_uid = 65535
first_valid_gid = 500
last_valid_gid = 65535
#protocol imap {
#listen= localhost:143
#}
#protocol imaps {
#listen= localhost:993
#}
#protocol pop3 {
#listen = 192.168.30.40:995
#pop3_uidl_format = %08Xu%08Xv
#}
protocol lda {
postmaster_address = postmaster@meine.domain
hostname = smtp.meine.domain
auth_socket_path = /var/run/dovecot/auth-master
}
#ssl_listen =
ssl = yes
ssl_cert_file = /etc/ssl/certs/dovecot.pem
ssl_key_file = /etc/ssl/private/dovecot.pem
#ssl_key_password =
#ssl_ca_file =
ssl_verify_client_cert = no
ssl_parameters_regenerate = 168
ssl_cipher_list = ALL:!LOW
verbose_ssl = no
auth default {
mechanisms = plain
userdb passwd {
args = mail=mbox:/var/mail
}
passdb pam {
#args = dovecot
args = *
}
userdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
passdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = mail
group = mail
}
}
}
end dovecot configuration
dovecot-sql.conf
dovecot-sql.conf
driver = mysql
connect = host=localhost dbname=egroupware user=egroupware password=secret
default_pass_scheme = PLAIN-MD5 #MD5-CRYPT
#user_query = SELECT 500 AS uid, 500 AS gid, ./var/vmail/%u. AS home FROM egw_accounts where account_lid = .%u.
#password_query = SELECT account_pwd AS password FROM egw_accounts WHERE account_lid = .%u.
password_query = SELECT account_lid as user, account_pwd as password FROM egw_accounts WHERE account_lid = ‘%u’
end dovecot-sql.conf
Mit den auskomentierten Einstellungen habe ich es auch schon erfolglos versucht.
Und hier die log:
Dec 21 11:37:13 egroupware dovecot: Dovecot v1.2.6 starting up (core dumps disabled)
Dec 21 11:37:13 egroupware dovecot: auth-worker(default): mysql: Connected to localhost (egroupware)
Dec 21 11:37:21 egroupware dovecot-auth: pam_unix(imap:auth): check pass; user unknown
Dec 21 11:37:21 egroupware dovecot-auth: pam_unix(imap:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=test rhost=127.0.0.1
Dec 21 11:37:23 egroupware dovecot: auth-worker(default): sql(test,127.0.0.1): User query failed: Table ‘egroupware.users’ doesn’t exist
Dec 21 11:37:23 egroupware dovecot: imap-login: Internal login failure (auth failed, 1 attempts): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Dec 21 11:37:23 egroupware dovecot-auth: pam_unix(imap:auth): check pass; user unknown
Dec 21 11:37:23 egroupware dovecot-auth: pam_unix(imap:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=test rhost=127.0.0.1
Dec 21 11:37:25 egroupware dovecot: auth-worker(default): sql(test,127.0.0.1): User query failed: Table ‘egroupware.users’ doesn’t exist
Dec 21 11:37:25 egroupware dovecot: imap-login: Internal login failure (auth failed, 1 attempts): user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
Die Domains und passwörter habe ich abgeändert.
Ich wäre für jede Hilfe Dankbar!