Commit 84630b73 authored by Rafael Ostertag's avatar Rafael Ostertag
Browse files

Allow setting the display name when creating mail lists.

parent b78ba876
......@@ -35,6 +35,8 @@ class EmailList(managementagent.RabbitModule):
continue
zmprov_lines.append(op + " " + operation['name'] + "\n")
if 'displayname' in operation and op == 'cdl':
zmprov_lines.append('modifyDistributionList %s displayName "%s"' % (operation['name'], operation['displayname']))
zmprov.communicate(input="".join(zmprov_lines))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment