Issue setting zimbraAdminSieveScriptBefore at Server-Level

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
User avatar
deion
Posts: 2
Joined: Fri Sep 10, 2021 6:47 pm

Issue setting zimbraAdminSieveScriptBefore at Server-Level

Postby deion » Fri Sep 10, 2021 6:56 pm

Hello,

I've been following the sieve filters tutorial (https://blog.zimbra.com/2021/07/zimbra- ... on-zimbra/) which states 'You can set zimbraAdminSieveScriptBefore per account, COS, domain or server'.

There was no issues settings the zimbraAdminSieveScriptBefore at the account-level, domain-level, and cos-level but I haven't had any luck at the server-level.

Code: Select all

cat /tmp/sieve.server | xargs -0 zmprov ms example.domain.com zimbraAdminSieveScriptBefore
ERROR: service.FAILURE (system failure: unable to modify attrs: object class violation - unable to modify attributes: ldap host=example.domain.com:389: attribute 'zimbraAdminSieveScriptBefore' not allowed)


Am I doing something wrong or is there an inaccuracy with the tutorial?

Thanks for the help!


User avatar
fs.schmidt
Outstanding Member
Outstanding Member
Posts: 273
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: Issue setting zimbraAdminSieveScriptBefore at Server-Level

Postby fs.schmidt » Sun Sep 12, 2021 2:45 am

Hello,

The zimbraAdminSieveScriptBefore parameters is not implemented on server level.
Attachments
zimbraAdminSieveScriptBefore.JPG
zimbraAdminSieveScriptBefore.JPG (28.8 KiB) Viewed 1645 times
My best regards,
Fabio S. Schmidt
http://www.bktech.com.br
Brasília - Brazil
User avatar
deion
Posts: 2
Joined: Fri Sep 10, 2021 6:47 pm

Re: Issue setting zimbraAdminSieveScriptBefore at Server-Level

Postby deion » Mon Sep 13, 2021 9:01 pm

Thanks for the confirmation about setting zimbraAdminSieveScriptBefore at the server level. Can I ask how you retrieved the attribute information from the image. Did you run a script or utility that's already included with Zimbra?

Otherwise, the Zimbra Team should resolve the inaccuracy in the sieve filter tutorial. Does anyone know any alternative method to set a sieve filter at the server level besides setting the sieve filter on each individual account, domain, or cos.
User avatar
barrydegraaff
Zimbra Employee
Zimbra Employee
Posts: 126
Joined: Tue Jun 17, 2014 3:31 am
Contact:

Re: Issue setting zimbraAdminSieveScriptBefore at Server-Level

Postby barrydegraaff » Tue Sep 14, 2021 5:44 am

You can find them in
/opt/zimbra/conf/attrs/zimbra-attrs.xml
--
Barry de Graaff
Admin of Zimbra-Community Github: https://github.com/orgs/Zimbra-Community/
Developer of Zimbra OpenPGP Zimlet, Zimbra ownCloud Zimlet and more.
A Zetalliance Founder http://www.zetalliance.org/
User avatar
fs.schmidt
Outstanding Member
Outstanding Member
Posts: 273
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: Issue setting zimbraAdminSieveScriptBefore at Server-Level

Postby fs.schmidt » Tue Sep 14, 2021 4:58 pm

deion wrote:Thanks for the confirmation about setting zimbraAdminSieveScriptBefore at the server level. Can I ask how you retrieved the attribute information from the image. Did you run a script or utility that's already included with Zimbra?

Otherwise, the Zimbra Team should resolve the inaccuracy in the sieve filter tutorial. Does anyone know any alternative method to set a sieve filter at the server level besides setting the sieve filter on each individual account, domain, or cos.


Hello, I just ran the "zmprov desc -a zimbraAdminSieveScriptBefore" command. You can find this information on https://files.zimbra.com/docs/config-guide/index.html as well.
My best regards,
Fabio S. Schmidt
http://www.bktech.com.br
Brasília - Brazil

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 9 guests