Page 1 of 3

Filter - no "Forward to" option

Posted: Wed Jul 13, 2016 4:07 pm
by dzilupl
Hi

I'm using Zimbra 8.7 RC2. In filter options I can't choose action "Forward to" - this option is missing. Anyone know what can be wrong?

Re: Filter - no "Forward to" option

Posted: Wed Jul 13, 2016 4:19 pm
by phoenix
dzilupl wrote:Hi

I'm using Zimbra 8.7 RC2. In filter options I can't choose action "Forward to" - this option is missing. Anyone know what can be wrong?
Do you mean the "Redirect to recipient" option that's also available in the current ZCS 8.6 release?

Re: Filter - no "Forward to" option

Posted: Thu Jul 14, 2016 10:08 am
by dzilupl
Bill, I found in documentation this:

Image

Unfortunately I can't find it when adding new filter:

Image

Is this 8.7 bug or maybe this option isn't available in open source edition?

Re: Filter - no "Forward to" option

Posted: Sun Jul 17, 2016 12:54 am
by v1rtu4l
i got this option in the OSE of 8.7

Re: Filter - no "Forward to" option

Posted: Mon Aug 22, 2016 10:39 pm
by DualBoot
In 8.7 OSE this is no more indicated "Forward To" but "Redirect to Address".

Re: Filter - no "Forward to" option

Posted: Thu Aug 25, 2016 12:28 pm
by ring-solutions
It seems that this option is hidden in 8.7

However you can do this from CLI.
First check what filters the user already has:

Code: Select all

zmprov ga user@domain.com zimbraMailSieveScript
Then add the forwarding rule and optionaly all the others you found using previous command (because this command overwrites all existing rules with new one(s)).
This is an example for a forwarding rule only:

Code: Select all

zmprov ma user@account.com zimbraMailSieveScript 'require ["fileinto", "reject", "tag", "flag"];
# Change2RuleName
if anyof (address :all :contains :comparator "i;ascii-casemap" ["to","cc"] "user@domain.com") {
    redirect "user2@domain2.com";
    keep;
}'
After this, you will have the rule in filters with "Redirect to address" option.

Re: Filter - no "Forward to" option

Posted: Mon Aug 29, 2016 11:31 am
by zanewilson
I am looking specifically for a "Forward To" filter rule. Redirect is a very different action, it sends the mail to another account but makes it look as if it was originally sent to that account (From address is taken from the original email and CC list is maintained). If you forward a mail, the "from" address is the email address sending the forward, not the email address that sent the original email. Redirect is very useful, but not appropriate for every "forwarding" use case.

Is this simply a case that Zimbra decided that noone needs to be able to forward mail in a filter rule, and it's not possible to do in 8.7GA? I can see searching various forums that there certainly was a forward filter action at some point in the past.

I tried to export the filters, edit the script to have a "forward" action instead of redirect, and re-import but I can't get the export/import to work (without modifying). I'm doing this:

Code: Select all

$ zmprov ga zane zimbraMailSieveScript  > 1
$ sed 's/zimbraMailSieveScript: //g' 1 > 2
$ zmprov ma zane zimbraMailSieveScript `cat 2`
usage:  modifyAccount(ma) {name@domain|id} [attr1 value1 [attr2 value2...]]
For general help, type : zmprov --help
Error message isn't very enlightening, unfortunately. So I can't export filters as-is and reimport as-is - what am I doing wrong? Same thing using just the account name on its own or the full email address.

Re: Filter - no "Forward to" option

Posted: Mon Aug 29, 2016 11:40 am
by zanewilson
FYI I found this option:

$ zmprov ma account@domain.com zimbraFeatureMailForwardingInFiltersEnabled TRUE

Despite the fact it's called "ForwardingInFilters" not "RedirectingInFilters" this controls whether users are allowed to use a redirect rule in filters - has nothing to do with forwarding.

Re: Filter - no "Forward to" option

Posted: Fri Sep 16, 2016 10:42 am
by cuongpv22
Hi

I'm using Zimbra 8.0.9 . In filter options I choose action "Redirect to address " - beacause i want to forward this email to specify email but it working unlike "Forward" Mail. Anyone know how to do this ?

Thanks in advance .

Re: Filter - no "Forward to" option

Posted: Mon Sep 26, 2016 1:01 pm
by Alessio
Hi

we have 8.7 NE and many accounts even haven't the option "Redirect to:" ad mentioned by dzilupl.

Is this a bug?

It is seriously bothering us.