Error sending messages with multiple LDAP mail values #1439
Comments
bernd
added a commit
that referenced
this issue
Oct 19, 2015
LDAP users can have multiple addresses in the email field. Split the email field on the "," character and add all addresses as recipient. Convert recipients to a Set to avoid sending duplicate emails. Fixes #1439
This will be fixed in the upcoming Graylog 1.2.2 release. Thank you for the report! See #1492 for details. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Situation
I have inetOrgPerson LDAP users mapped into Graylog.
Behaviour
When a user has multiple values within the mail field, messages are not sent and the following error message is shown:
Expected behaviour
I guess it should use an array instead of a comma to set multiple recipients, seems to be compatible with both org.apache.commons.mail and javax.mail.internet. I expect to have the message delivered to both recipients.
Debug information
I'm running latest graylog-server 1.2.0-5 on latest Debian stable 8.2 with latest Oracle JDK 1.7.0_80.
Additional comment
As org.apache.commons.mail is bundled into graylog.jar I don't know what version it is.
It really shouldn't be bundled, neither should 99% of the code in there, but I understand it's difficult to keep up with various distributions dependencies.
The text was updated successfully, but these errors were encountered: