03-07-2022 02:22 AM
Dear community,
I want to create a content filter, which adds a text footer to an email, if the sender is in an existing LDAP group. The content filter itself is no problem.
I just need to know how I have to put in the group name for the condition "envelope sender matches ldap group".
I already tried to put in the displayname of the group, I tried with "cn=group" and also "cn=group,OU=company,DC=company,DC=local".
I have a ldap-query where the group query delivers a positive match with the query "(&(memberOf={g})(proxyAddresses=SMTP:{a}))"
Any help would be appreciated!
Kind regards
Florian
Solved! Go to Solution.
03-09-2022 11:48 PM - edited 03-09-2022 11:52 PM
Hi Ken,
the log was already set up as debug-log. I found this one line, that seems so fit to my problem:
Thu Mar 10 08:25:57 2022 Critical: LDAP: Listener OutgoingMail does not reference a valid group query, comparison in filter will evaluate as false
So I took a look at the listener settings and at the bottom I found an option in the advanced settings, where i was able to define the ldap group query. After that my group query worked as expected.
Thank you very much for your help!
Kind regards
Florian
03-07-2022 07:18 AM
+1 for having the same issue with Group Queries. Accept Queries are currently working, however group queries are failing when testing. Also new emails not cached in prior lookups are falling outside of content policies.
03-07-2022 07:54 AM
03-07-2022 07:49 AM
03-08-2022 07:08 AM
Hi Ken,
thanks for your reply. I'm not sure if I wrote it right in my first post. I think I already put the distinguishedName in caps / copy/pasted it from ad attributes. I repeated it a few minutes ago but it still does not work.
Are there any other suggestions?
Kind regards
Florian
03-08-2022 09:31 AM
So, I tried to test it, and at first glance it failed... because I'd forgotten to enable it in an incoming policy...
So, have you verified that you added it to a policy, and that there isn't a content filter with a "Skip Remaining Content Filters" above it?
03-08-2022 11:21 PM
The filter is added to a policy. I see that the filter gets not hit, because the next filter gets hit. We have several content filters that add disclaimers to our emails. We have a working filter that adds our default disclaimer to all outgoing emails. I placed a filter above that, which should add a modified disclaimer. So I think the "logical" aspects should be ok. The filter also works if I put in my email-address instead of the group name.
03-09-2022 09:29 AM
03-09-2022 11:48 PM - edited 03-09-2022 11:52 PM
Hi Ken,
the log was already set up as debug-log. I found this one line, that seems so fit to my problem:
Thu Mar 10 08:25:57 2022 Critical: LDAP: Listener OutgoingMail does not reference a valid group query, comparison in filter will evaluate as false
So I took a look at the listener settings and at the bottom I found an option in the advanced settings, where i was able to define the ldap group query. After that my group query worked as expected.
Thank you very much for your help!
Kind regards
Florian
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide