Hallo Community,
ich habe einen aktuellen UCS Server mit Zarafa an unser Active Directory angebunden. (corp.domain.de)
Dabei musste ich den Netbios Name des Zarafa Servers ändern, da dieser auf “corp” und nicht “domain” stand. Mit dieser Anleitung:
sdb.univention.de/content/6/313/ … anged.html
Der Login innerhalb webapp sowie webaccess funktioniert problemlos.
Nach kopieren der Mails mit imapsync vom alten auf den neuen Server kann der Benutzer sich problemlos mit Thunderbird per Imap mit “STARTTLS” Verschlüsselung zum Server verbinden.
Beim SMTP Server jedoch funktioniert dies nur mit Verbindungssicherheit “Keine”.
Folgende Fehlermeldungen habe ich:
/var/log/auth.log:
Jul 3 13:35:49 hostname saslauthd[9917]: nss_ldap: reconnecting to LDAP server…
Jul 3 13:35:49 hostname saslauthd[9917]: nss_ldap: reconnected to LDAP server ldap://hostname.corp.domain.de:7389 after 1 attempt
Jul 3 13:35:49 hostname saslauthd[9917]: pam_unix(smtp:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=username
Jul 3 13:35:49 hostname PAM-univentionmailcyrus[9917]: No or ambigous result, found 0 entries.
Jul 3 13:35:49 hostname PAM-univentionmailcyrus[9917]: failed to map username
Jul 3 13:35:51 hostname saslauthd[9917]: DEBUG: auth_pam: pam_authenticate failed: User not known to the underlying authentication module
Jul 3 13:35:51 hostname saslauthd[9917]: do_auth : auth failure: [user=username] [service=smtp] [realm=] [mech=pam] [reason=PAM auth error]
/var/log/mail.info
Jul 3 13:35:48 hostname postfix/smtpd[16244]: connect from hostname.corp.domain.de[192.168.10.111]
Jul 3 13:35:51 hostname postfix/smtpd[16244]: warning: SASL authentication failure: Password verification failed
Jul 3 13:35:51 hostname postfix/smtpd[16244]: warning: hostname.corp.domain.de[192.168.10.111]: SASL PLAIN authentication failed: authentication failure
Jul 3 13:35:53 hostname postfix/smtpd[16244]: warning: hostname.corp.domain.de[192.168.10.111]: SASL LOGIN authentication failed: authentication failure
Jul 3 13:37:33 hostname postfix/smtpd[16244]: lost connection after AUTH from hostname.corp.domain.de[192.168.10.111]
Jul 3 13:37:33 hostname postfix/smtpd[16244]: disconnect from hostname.corp.domain.de[192.168.10.111]
root@hostname:/etc/default# testsaslauthd -u username -p password
0: NO “authentication failed”
root@hostname:/etc/default# testsaslauthd -u username@domain -p password
0: NO “authentication failed”
root@hostname:/etc/default# testsaslauthd -u username@corp.domain.de -p password
0: NO “authentication failed”
Offenbar kann der saslauthd nicht auf den User zugreifen. Eine Testinstallation von UCS mit lokalen Benutzern funktioniert aktuell Problemlos.
Bin leider hier gerade am Ende mit meinen Lateien, kann mir hier jemand helfen?
Update1:
Es funktioniert komischerweise mit der E-Mail Adresse als Loginname aber nicht mit dem Benutzer…
Hat jemand eine Idee wo ich das umstellen kann?
root@hostname:/etc/default# testsaslauthd -u mailadress@domain.de -p ‘password’ -s smtp
0: OK “Success.”
VG
Val