Hallo,
ein Problem, welches inzwischen JEDES Mal am Tag (??) nach einen Kopano Update auftritt, hat mich heute wieder auf Trab gehalten.
Seit geraumer Zeit habe ich in /var/log/kopano/server.log
folgende Einträge wiederkehrend:
(Timestamp): [error ] LDAP search error: Can't contact LDAP server. Will unbind, reconnect and retry.
(Timestamp): [error ] Previous message logged 100 times
Dies wurde hier im Forum schon einmal diskutiert, allerdings ohne Ergebnis - auch, da dies scheinbar keine Auswirkungen auf die Funktionalität zu haben scheint.
Da ich nun jedoch das direkte Kopano Repo aktiviert habe, trifft mich regelmäßig ein Problem, welches damit zusammenhängen könnte. Aus /var/log/mail.log
:
(Timestamp) ucs fetchmail[7580]: 812 messages (811 seen) for USER_X@mydomain.tld at smarthost.domain.tld.
(Timestamp) ucs postfix/smtpd[7752]: connect from localhost[127.0.0.1]
(Timestamp) ucs postfix/smtpd[7752]: D5A61602E2: client=localhost[127.0.0.1]
(Timestamp) ucs postfix/cleanup[7755]: D5A61602E2: message-id=<201705140637.v4E6btEB022608@externalmx.domain.tld>
(Timestamp) ucs postfix/qmgr[19223]: D5A61602E2: from=<externalsender@domain.tld>, size=279830, nrcpt=1 (queue active)
(Timestamp) ucs fetchmail[7580]: reading message USER_X@mydomain.tld@smarthost.domain.tld:812 of 812 (2567 header octets) (276976 body octets) not flushed
(Timestamp) ucs postfix/smtpd[7752]: disconnect from localhost[127.0.0.1]
(Timestamp) ucs postfix/smtpd[7760]: connect from localhost[127.0.0.1]
(Timestamp) ucs postfix/smtpd[7760]: D30C2613DF: client=localhost[127.0.0.1], orig_queue_id=D5A61602E2, orig_client=localhost[127.0.0.1]
(Timestamp) ucs postfix/cleanup[7755]: D30C2613DF: message-id=<201705140637.v4E6btEB022608@externalmx.domain.tld>
(Timestamp) ucs postfix/qmgr[19223]: D30C2613DF: from=<externalsender@domain.tld>, size=280586, nrcpt=1 (queue active)
(Timestamp) ucs postfix/smtpd[7760]: disconnect from localhost[127.0.0.1]
(Timestamp) ucs amavis[1155]: (01155-10) Passed CLEAN {RelayedInternal}, LOCAL [127.0.0.1]:55765 [66.228.35.203] <externalsender@domain.tld> -> <USER_X@mydomain.tld>, Queue-ID: D5A61602E2, Message-ID: <201705140637.v4E6btEB022608@externalmx.domain.tld>, mail_id: MwRCoiKSKp_J, Hits: 0.874, size: 279829, queued_as: D30C2613DF, 1792 ms
(Timestamp) ucs postfix/smtp[7756]: D5A61602E2: to=<USER_X@mydomain.tld>, relay=127.0.0.1[127.0.0.1]:10024, delay=4.1, delays=2.2/0.01/0/1.8, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as D30C2613DF)
(Timestamp) ucs postfix/qmgr[19223]: D5A61602E2: removed
(Timestamp) ucs postfix/lmtp[7761]: D30C2613DF: to=<USER_X@mydomain.tld>, relay=127.0.0.1[127.0.0.1]:2003, delay=0.16, delays=0.05/0.01/0.09/0.01, dsn=5.1.1, status=bounced (host 127.0.0.1[127.0.0.1] said: 503 5.1.1 User does not exist (in reply to RCPT TO command))
(Timestamp) ucs postfix/cleanup[7755]: EFF64613FD: message-id=<20170514063848.EFF64613FD@ucs.mydomain.local>
(Timestamp) ucs postfix/bounce[7765]: D30C2613DF: sender non-delivery notification: EFF64613FD
(Timestamp) ucs postfix/qmgr[19223]: EFF64613FD: from=<>, size=5586, nrcpt=1 (queue active)
(Timestamp) ucs postfix/qmgr[19223]: D30C2613DF: removed
(Timestamp) ucs postfix/smtp[7766]: EFF64613FD: to=<externalsender@domain.tld>, relay=smarthost.domain.tld[xxx.xxx.xxx.xxx]:25, delay=1.2, delays=0/0.02/0.75/0.47, dsn=2.0.0, status=sent (250 OK)
(Timestamp) ucs postfix/qmgr[19223]: EFF64613FD: removed
(Timestamp) ucs postfix/smtpd[7752]: connect from ucs.mydomain.local[192.168.100.3]
(Timestamp) ucs postfix/smtpd[7752]: disconnect from ucs.mydomain.local[192.168.100.3]
/var/log/kopano/server.log
hat währenddessen folgende Einträge:
(Timestamp): [warning] Authentication by plugin failed for user "USER_X": Trying to authenticate failed: No user type attribute value defined; username = USER_X
(Timestamp): [warning] Failed to authenticate user "USER_X" from "file:///var/run/kopano/server.sock" using program "apache2"
und
(Timestamp): [warning] Unable to perform search for string "USER_Y@domain.tld" on user database: No user type attribute value defined`
und
(Timestamp): [warning] Log connection was reset
(Timestamp): [crit ] K-3904: Unable to setup ssl context: Can't find or read certificate in key file
(Timestamp): [error ] Unable to reload plugin configuration file.
(Timestamp): [crit ] Config error: Option 'ldap_group_type_attribute_value' cannot be empty!
(Timestamp): [crit ] Config error: Option 'ldap_user_type_attribute_value' cannot be empty!
(Timestamp): [crit ] Config error: Option 'ldap_group_type_attribute_value' cannot be empty!
(Timestamp): [crit ] Config error: Option 'ldap_user_type_attribute_value' cannot be empty!
(Timestamp): [warning] Log connection was reset
(Timestamp): [crit ] K-3904: Unable to setup ssl context: Can't find or read certificate in key file
(Timestamp): [warning] Authentication by plugin failed for user "USER_Z": Trying to authenticate failed: No user type attribute value defined; username = USER_Z
(Timestamp): [warning] Failed to authenticate user "USER_Z" from "file:///var/run/kopano/server.sock" using program "apache2"
Somit werden alles Mails vom Smarthost gebounced, aber erst am Tag NACH dem Kopano Update. Ich tippe auf einen Cronjob, welcher die User-Tabelle mit Samba abgleicht, hier in die Tiefe zu gehen überfordert meine Kenntnisse der Zusammenhänge zwischen UCS, Samba und Kopano deutlich.
Hat vielleicht jemand einen Tipp?
VG,
TP