Issue setting zimbraAdminSieveScriptBefore at Server-Level

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

Issue setting zimbraAdminSieveScriptBefore at Server-Level

Post by deion »

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: 278
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: Issue setting zimbraAdminSieveScriptBefore at Server-Level

Post by fs.schmidt »

Hello,

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

Re: Issue setting zimbraAdminSieveScriptBefore at Server-Level

Post by deion »

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: 242
Joined: Tue Jun 17, 2014 3:31 am
Contact:

Re: Issue setting zimbraAdminSieveScriptBefore at Server-Level

Post by barrydegraaff »

You can find them in
/opt/zimbra/conf/attrs/zimbra-attrs.xml
--
Barry de Graaff
Email: barry.degraaff [at] synacor [dot] com
Admin of Zimbra-Community Github: https://github.com/orgs/Zimbra-Community/ and the
Zimlet Gallery https://gallery.zetalliance.org/extend/
User avatar
fs.schmidt
Outstanding Member
Outstanding Member
Posts: 278
Joined: Sat Sep 13, 2014 3:37 am
Location: Brazil
Contact:

Re: Issue setting zimbraAdminSieveScriptBefore at Server-Level

Post by fs.schmidt »

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.
Best regards.
Fabio S. Schmidt
http://www.bktech.com.br
Brasília - Brazil
Post Reply