Export filter rules

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
armitage318
Advanced member
Advanced member
Posts: 82
Joined: Sat Sep 13, 2014 2:01 am

Export filter rules

Postby armitage318 » Tue May 17, 2011 4:27 am

Hi,
how can I export filter rules for every user?

I'm using Zimbra 5.0.10

Thankyou


3244vmahajan
Advanced member
Advanced member
Posts: 138
Joined: Sat Sep 13, 2014 1:00 am

Export filter rules

Postby 3244vmahajan » Wed May 18, 2011 12:43 am

Export the zimbraMailSieveScript account attribute.
jerryboi
Advanced member
Advanced member
Posts: 122
Joined: Fri Sep 12, 2014 10:09 pm

Export filter rules

Postby jerryboi » Fri Aug 31, 2012 2:27 pm

If you were to transfer filter rules from account a.geezer to b.geezer here is what you do:
[zimbra@zimber tmp]$ zmprov ga a.geezer@yourdomain.eu zimbraMailSieveScript > /tmp/geezer.filter_rules.sieve

[zimbra@zimber tmp]$ nano /tmp/geezer.filter_rules.sieve

[zimbra@zimber tmp]$ chmod +x /tmp/geezer.filter_rules.sieve

[zimbra@zimber tmp]$ ./geezer.filter_rules.sieve

[zimbra@zimber tmp]$
in nano you change the first characters from #name a. to zmprov ma b. and put the part beginning with require till EOF into single quotes.
I realise this is not what the OP wanted, but I suppose he figured it out by now :)
krishnaprasad
Posts: 2
Joined: Sat Sep 13, 2014 3:05 am

Export filter rules

Postby krishnaprasad » Mon Feb 18, 2013 4:19 am

Dear All,
We are using ZCS 8 , in that we want maintain global filters for all mail accounts.i have read a post how to transfer filters from one account to another account using 'zimbraMailSieveScript ' , can any one give the script to apply all accounts.
Regards,

krishnaprasad
unc0nnected
Posts: 34
Joined: Sat Sep 13, 2014 3:52 am

Export filter rules

Postby unc0nnected » Wed May 28, 2014 5:03 am

Above solution no longer works verbatim, you need to change the end .sieve file up just a little bit. Solution here

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 8 guests