Hi,
I got a Python script written to automate accounts and distribution lists synchronization with some external repository. I'd like to be able to flag some accounts and distribution lists in the admin console so that this Python script knows it should "skip them" and not affect them in any way.
First, we've considered adding a dedicated string in the zimbraNotes field but it'll quickly get kind of messy and unreliable.
Then, I imagined adding those accounts and DL which should be left out in a dedicated distribution list. This method is way more user friendly and reliable for my delegate administrators. However, I can't find an easy way to search for all accounts/DL which are not in a specific DL in my Python code as I can't figure any Zimbra search string I could use. Of course, I can list all accounts and DL in my script before to check the memberships but it doesn't look like a very elegant way to do...
What would you suggest to answer my case?
I got a Python script written to automate accounts and distribution lists synchronization with some external repository. I'd like to be able to flag some accounts and distribution lists in the admin console so that this Python script knows it should "skip them" and not affect them in any way.
First, we've considered adding a dedicated string in the zimbraNotes field but it'll quickly get kind of messy and unreliable.
Then, I imagined adding those accounts and DL which should be left out in a dedicated distribution list. This method is way more user friendly and reliable for my delegate administrators. However, I can't find an easy way to search for all accounts/DL which are not in a specific DL in my Python code as I can't figure any Zimbra search string I could use. Of course, I can list all accounts and DL in my script before to check the memberships but it doesn't look like a very elegant way to do...
What would you suggest to answer my case?
Statistics: Posted by jbellini — Fri Feb 14, 2025 9:15 am